mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00: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;
|
||||
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 = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user