46 current 2025-10-05 10:37:39 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-05 10:38:04 -05:00
parent ee9125c065
commit 27ea0b0983
2 changed files with 13 additions and 3 deletions

View File

@@ -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 = {

View File

@@ -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" ];
}
];
}
];