Merge pull request #273024 from melvyn2/patch-1

nixos/sshServe: use bash as default shell for nix-ssh user
This commit is contained in:
Peder Bergebakken Sundt 2024-01-19 22:26:44 +01:00 committed by GitHub
commit 31ff0dfe49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {};