Deploys as non-root user
This commit is contained in:
parent
53e192d9c6
commit
81ff91f425
2 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = false; # Needed for colmena.
|
||||
nix.settings.trusted-users = [ "root" "@wheel" ];
|
||||
|
||||
documentation.man.enable = false; # Takes way too long to build.
|
||||
|
||||
# Allow SSH with authorized keys only!
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
colmena = {
|
||||
meta.nixpkgs = pkgs;
|
||||
orange = {
|
||||
deployment.targetUser = "geekygay";
|
||||
imports = modules;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue