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 = ''
pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
'';
sdassdadsasda
users.users.pagedmov = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.

View File

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