Update common.nix
This commit is contained in:
parent
60eab6b723
commit
0ab1443d78
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ networking.networkmanager.enable = true;
|
|||
# Shell aliases
|
||||
environment.shellAliases = {
|
||||
update = ''
|
||||
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..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue