Update common.nix

This commit is contained in:
ediblerope 2026-01-11 11:20:34 +00:00 committed by GitHub
parent ce7f3c1c95
commit 9633bef2df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@
# Shell aliases
environment.shellAliases = {
update = ''
dconf reset -f /org/gnome/desktop/background/
#dconf reset -f /org/gnome/desktop/background/
CHANNEL=$(sudo nix-channel --list | grep "^nixos " | awk '{print $2}')
if [[ "$CHANNEL" != *"nixos-unstable"* ]]; then
echo "Switching to nixos-unstable channel..."