nix
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
./modules/tangled.nix
|
||||
../../modules/force.nix
|
||||
./modules/gitea.nix
|
||||
./modules/vaultwarden.nix
|
||||
];
|
||||
|
||||
# gcc. shit breaks. wtf
|
||||
@@ -40,9 +41,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh.settings = {
|
||||
services.openssh.settings = lib.mkDefault {
|
||||
PubkeyAuthentication = "yes";
|
||||
TrustedUserCAKeys = "/etc/ssh/ca.pub";
|
||||
PermitRootLogin = lib.mkDefault "prohibit-password";
|
||||
KbdInteractiveAuthentication = lib.mkDefault false;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
@@ -62,6 +65,7 @@
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"docker"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user