46 current 2025-10-05 10:37:39 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# flake for blakes nixos config
|
||||
# define new devices in outputs
|
||||
# generation: 45 current 2025-10-05 10:31:53 25.05.20251001.5b5be50 6.12.49 *
|
||||
# generation: 46 current 2025-10-05 10:37:39 25.05.20251001.5b5be50 6.12.49 *
|
||||
{
|
||||
description = "blakes nix config";
|
||||
inputs = {
|
||||
|
||||
@@ -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