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