add sudo insults
This commit is contained in:
@@ -45,27 +45,32 @@
|
|||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
|
||||||
# passwordless rebuild
|
# passwordless rebuild
|
||||||
security.sudo.extraRules = [
|
security.sudo = {
|
||||||
{
|
extraRules = [
|
||||||
users = ["blake"];
|
{
|
||||||
commands = [
|
users = ["blake"];
|
||||||
{
|
commands = [
|
||||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
{
|
||||||
options = ["NOPASSWD"];
|
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/systemctl";
|
||||||
}
|
options = ["NOPASSWD"];
|
||||||
{
|
}
|
||||||
command = "/run/current-system/sw/bin/journalctl";
|
{
|
||||||
options = ["NOPASSWD"];
|
command = "/run/current-system/sw/bin/journalctl";
|
||||||
}
|
options = ["NOPASSWD"];
|
||||||
{
|
}
|
||||||
command = "/run/current-system/sw/bin/tailscale";
|
{
|
||||||
options = ["NOPASSWD"];
|
command = "/run/current-system/sw/bin/tailscale";
|
||||||
}
|
options = ["NOPASSWD"];
|
||||||
];
|
}
|
||||||
}
|
];
|
||||||
];
|
}
|
||||||
|
];
|
||||||
|
extraConfig = ''
|
||||||
|
Defaults insults
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,15 +12,20 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
dots = {
|
dots = {
|
||||||
lf.enable = true;
|
stylix = {
|
||||||
|
enable = true;
|
||||||
|
wallpaper = ../assets/wallpapers/yveltal.jpg;
|
||||||
|
};
|
||||||
|
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
librewolf.enable = true;
|
librewolf.enable = true;
|
||||||
stylix.enable = true;
|
|
||||||
waybar.enable = true;
|
waybar.enable = true;
|
||||||
dunst.enable = true;
|
dunst.enable = true;
|
||||||
hypr.enable = true;
|
hypr.enable = true;
|
||||||
tofi.enable = true;
|
tofi.enable = true;
|
||||||
|
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
|
lf.enable = true;
|
||||||
nvf.enable = true;
|
nvf.enable = true;
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
@@ -32,10 +37,7 @@
|
|||||||
gnucash.enable = true;
|
gnucash.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
htop
|
|
||||||
sl
|
sl
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user