diff --git a/extras/gaming.nix b/extras/gaming.nix index a179d77..500f62c 100644 --- a/extras/gaming.nix +++ b/extras/gaming.nix @@ -36,4 +36,15 @@ value = -20; } ]; + security.sudo-rs.extraRules = [ + { + commands = [ + { + command = "${pkgs.systemd}/bin/bootctl set-oneshot auto-windows"; + options = ["NOPASSWD"]; + } + ]; + groups = ["wheel"]; + } + ]; } diff --git a/systems/BASED.nix b/systems/BASED.nix index 44cae14..774a1fe 100644 --- a/systems/BASED.nix +++ b/systems/BASED.nix @@ -74,12 +74,6 @@ }; security.sudo-rs.enable = true; - # security.sudo-rs.ertraRules = [{ - # commands = [ - # { command = "${pkgs.systemd}/bin/bootctl set-oneshot auto-windows"; options = [ "NOPASSWD" ]; } - # ]; - # groups = [ "wheel" ]; - # }]; i18n.inputMethod = { enabled = "fcitx5"; diff --git a/users/tao.nix b/users/tao.nix index dc5723d..83a93d9 100644 --- a/users/tao.nix +++ b/users/tao.nix @@ -41,7 +41,7 @@ # libsForQt5.kcharselect # libsForQt5.kdeconnect-kde # libsForQt5.plasma-integration - plasma-vault + kdePackages.plasma-vault miniserve mpv nushell diff --git a/users/tao/nushell/stuff.nu b/users/tao/nushell/stuff.nu index bc3ea73..63702c6 100644 --- a/users/tao/nushell/stuff.nu +++ b/users/tao/nushell/stuff.nu @@ -8,8 +8,8 @@ alias gc = sudo nix-collect-garbage -d alias js = jj status alias jd = jj diff alias pu = pueue -alias rb = sudo nice -n19 nixos-rebuild boot --flake ~/projects/NOflake/ -alias rs = sudo nice -n19 nixos-rebuild switch --flake ~/projects/NOflake/ +alias rb = sudo nice -n19 nixos-rebuild boot --flake . +alias rs = sudo nice -n19 nixos-rebuild switch --flake . alias t = task alias ts = tailscale alias tss = tailscale status