Commit for generation 169

This commit is contained in:
2024-10-02 04:14:42 -04:00
parent 1da879d678
commit ba309b54b9
2 changed files with 1 additions and 2 deletions

View File

@@ -53,7 +53,6 @@
security.sudo.extraConfig = '' security.sudo.extraConfig = ''
pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
''; '';
sdassdadsasda
users.users.pagedmov = { users.users.pagedmov = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.

View File

@@ -227,12 +227,12 @@ nixswitch() {
git push git push
fi fi
sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse" sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse"
builtin cd $OLDPWD
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
sounds_enabled && (aplay ~/sound/sys/update.wav > /dev/null 2>&1 &) sounds_enabled && (aplay ~/sound/sys/update.wav > /dev/null 2>&1 &)
else else
sounds_enabled && (aplay ~/sound/sys/error.wav > /dev/null 2>&1 &) sounds_enabled && (aplay ~/sound/sys/error.wav > /dev/null 2>&1 &)
fi fi
builtin cd $OLDPWD
} }
journal() { journal() {
# journal for keeping track of stuff I do that isn't declared in my nix config # journal for keeping track of stuff I do that isn't declared in my nix config