Deploys as non-root user

This commit is contained in:
Bailey 2023-08-16 12:44:20 -04:00
parent 53e192d9c6
commit 81ff91f425
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -52,6 +52,7 @@
colmena = {
meta.nixpkgs = pkgs;
orange = {
deployment.targetUser = "geekygay";
imports = modules;
};
};