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! # Allow SSH with authorized keys only!
services.openssh = { services.openssh = {
enable = true; enable = true;

View file

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