Commit for generation 168

This commit is contained in:
2024-10-02 04:10:14 -04:00
parent 7c4eb4dfa1
commit 0046918c22
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
''; '';
aasdasdads
users.users.pagedmov = { users.users.pagedmov = {
isNormalUser = true; isNormalUser = true;

View File

@@ -228,7 +228,7 @@ nixswitch() {
fi fi
sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse" sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse"
builtin cd $OLDPWD 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 &)