Testing
This commit is contained in:
parent
703b3f0216
commit
341860a195
2 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
nix.settings.trusted-users = [ "albert" ];
|
|
||||||
nix.buildMachines = [
|
nix.buildMachines = [
|
||||||
{
|
{
|
||||||
hostName = "framework-server"; # Only availalbe on the Headscale network
|
hostName = "framework-server"; # Only availalbe on the Headscale network
|
||||||
|
|
|
@ -17,4 +17,18 @@ in {
|
||||||
packages = [ pkgs.home-manager ];
|
packages = [ pkgs.home-manager ];
|
||||||
openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
|
openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Make this user trusted
|
||||||
|
nix.settings.trusted-users = [ "albert" ];
|
||||||
|
|
||||||
|
# No sudo password
|
||||||
|
security.sudo.extraRules = [
|
||||||
|
{ users = [ "albert" ];
|
||||||
|
commands = [
|
||||||
|
{ command = "ALL";
|
||||||
|
options = [ "NOPASSWD" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
Loading…
Reference in a new issue