From d39fb7af39c3c9c8cc9d1db5c39723239d29d156 Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 4 Nov 2025 00:53:55 -0600 Subject: [PATCH] add sudo insults --- hosts/nixos/default.nix | 51 +++++++++++++++++++---------------- users/blake/hosts/yveltal.nix | 12 +++++---- 2 files changed, 35 insertions(+), 28 deletions(-) diff --git a/hosts/nixos/default.nix b/hosts/nixos/default.nix index 1d5c4da..4ad75fd 100644 --- a/hosts/nixos/default.nix +++ b/hosts/nixos/default.nix @@ -45,27 +45,32 @@ users.defaultUserShell = pkgs.zsh; # passwordless rebuild - security.sudo.extraRules = [ - { - users = ["blake"]; - commands = [ - { - 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"]; - } - ]; - } - ]; + security.sudo = { + extraRules = [ + { + users = ["blake"]; + commands = [ + { + 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"]; + } + ]; + } + ]; + extraConfig = '' + Defaults insults + ''; + }; } diff --git a/users/blake/hosts/yveltal.nix b/users/blake/hosts/yveltal.nix index d3f57d3..8b65f61 100644 --- a/users/blake/hosts/yveltal.nix +++ b/users/blake/hosts/yveltal.nix @@ -12,15 +12,20 @@ ]; dots = { - lf.enable = true; + stylix = { + enable = true; + wallpaper = ../assets/wallpapers/yveltal.jpg; + }; + kitty.enable = true; librewolf.enable = true; - stylix.enable = true; waybar.enable = true; dunst.enable = true; hypr.enable = true; tofi.enable = true; + btop.enable = true; + lf.enable = true; nvf.enable = true; zsh.enable = true; ssh.enable = true; @@ -32,10 +37,7 @@ gnucash.enable = true; }; - - home.packages = with pkgs; [ - htop sl ]; }