mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #273024 from melvyn2/patch-1
nixos/sshServe: use bash as default shell for nix-ssh user
This commit is contained in:
commit
31ff0dfe49
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let cfg = config.nix.sshServe;
|
let cfg = config.nix.sshServe;
|
||||||
|
@ -46,7 +46,7 @@ in {
|
||||||
description = "Nix SSH store user";
|
description = "Nix SSH store user";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "nix-ssh";
|
group = "nix-ssh";
|
||||||
useDefaultShell = true;
|
shell = pkgs.bashInteractive;
|
||||||
};
|
};
|
||||||
users.groups.nix-ssh = {};
|
users.groups.nix-ssh = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue