46 current 2025-10-05 10:37:39 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -5,8 +5,6 @@ let
|
||||
cfg = config.users.blake;
|
||||
in
|
||||
{
|
||||
# imports = [ inputs.home-manager.nixosModules.default];
|
||||
|
||||
options.users.blake = {
|
||||
enable = lib.mkEnableOption "enable blake user";
|
||||
username = lib.mkOption {
|
||||
@@ -56,6 +54,18 @@ in
|
||||
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" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user