restructured user

This commit is contained in:
2025-10-14 00:09:11 -05:00
parent 977d97fc0d
commit ea2be0de28
14 changed files with 11316 additions and 102 deletions

33
hosts/default.nix Normal file
View File

@@ -0,0 +1,33 @@
{
pkgs,
config,
lib,
inputs,
...
}:
{
# passwordless rebuild
security.sudo.extraRules = [
{
users = ["blake"];
commands = [
{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = ["NOPASSWD"];
}
{
command = "/run/current-system/sw/bin/systemctl";
options = ["NOPASSWD"];
}
{
command = "/run/current-system/sw/bin/journalctl";
options = ["NOPASSWD"];
}
{
command = "/run/current-system/sw/bin/tailscale";
options = ["NOPASSWD"];
}
];
}
];
}