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!
|
# Allow SSH with authorized keys only!
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
colmena = {
|
colmena = {
|
||||||
meta.nixpkgs = pkgs;
|
meta.nixpkgs = pkgs;
|
||||||
orange = {
|
orange = {
|
||||||
|
deployment.targetUser = "geekygay";
|
||||||
imports = modules;
|
imports = modules;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue