diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-01-19 22:26:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 22:26:44 +0100 |
commit | 31ff0dfe49dd7284f175d5453032c007afb12213 (patch) | |
tree | 5908d656ab79f0fe328709611d5c0ff5156170bf /nixos | |
parent | a6111a06eb942523be442ba3777149137a5d9f12 (diff) | |
parent | de12dd74d20baa343ad631e6089de8777cbbced1 (diff) |
Merge pull request #273024 from melvyn2/patch-1
nixos/sshServe: use bash as default shell for nix-ssh user
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/nix-ssh-serve.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/nix-ssh-serve.nix b/nixos/modules/services/misc/nix-ssh-serve.nix index b656692ca01cd..cf9d6339c69b7 100644 --- a/nixos/modules/services/misc/nix-ssh-serve.nix +++ b/nixos/modules/services/misc/nix-ssh-serve.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: with lib; let cfg = config.nix.sshServe; @@ -46,7 +46,7 @@ in { description = "Nix SSH store user"; isSystemUser = true; group = "nix-ssh"; - useDefaultShell = true; + shell = pkgs.bashInteractive; }; users.groups.nix-ssh = {}; |