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
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# 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";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ let
|
|||||||
cfg = config.users.blake;
|
cfg = config.users.blake;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# imports = [ inputs.home-manager.nixosModules.default];
|
|
||||||
|
|
||||||
options.users.blake = {
|
options.users.blake = {
|
||||||
enable = lib.mkEnableOption "enable blake user";
|
enable = lib.mkEnableOption "enable blake user";
|
||||||
username = lib.mkOption {
|
username = lib.mkOption {
|
||||||
@@ -56,6 +54,18 @@ in
|
|||||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||||
options = [ "NOPASSWD" ];
|
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