diff --git a/flake.nix b/flake.nix index 132985d..303e2ff 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { diff --git a/users/blake/blake.nix b/users/blake/blake.nix index b987871..5b0866b 100644 --- a/users/blake/blake.nix +++ b/users/blake/blake.nix @@ -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" ]; + } ]; } ];