hosts: use zsh for materus user
This commit is contained in:
parent
860c28efad
commit
575c698aa1
|
@ -119,6 +119,7 @@
|
|||
packages = with pkgs; [
|
||||
kate
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
enableTerminalExtra = lib.mkDefault true;
|
||||
enableNixDevel = lib.mkDefault true;
|
||||
|
||||
zsh.enable = true;
|
||||
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
packages = [
|
||||
];
|
||||
openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/materus.pub") ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
users.users.acme.openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/waffentrager.pub") ];
|
||||
users.users.acme.shell = pkgs.scponly;
|
||||
|
@ -99,7 +100,7 @@
|
|||
services.openssh.enable = true;
|
||||
services.openssh.openFirewall = false;
|
||||
services.openssh.settings.PermitRootLogin = "no";
|
||||
services.openssh.settings.PasswordAuthentication = true;
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
|
||||
fish.enable = false;
|
||||
bash.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPEDY+H8Hc/RSLE064AAh8IojvqxPd8BE5gec2aOfYMh materus@podkos.pl"
|
||||
];
|
||||
hashedPasswordFile = config.sops.secrets."users/materus".path;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
|
||||
fish.enable = false;
|
||||
bash.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue