Compare commits
2 commits
eddd3023f3
...
b16eda736c
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | b16eda736c | ||
Dmitry Voronin | 8a3d370ed2 |
|
@ -18,22 +18,6 @@ function nix_find() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Switch to Unstable branch.
|
|
||||||
function nix_unstable() {
|
|
||||||
nix-channel --remove nixos
|
|
||||||
# nix-channel --remove home-manager
|
|
||||||
|
|
||||||
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
|
||||||
# nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
|
||||||
|
|
||||||
nix-channel --update
|
|
||||||
}
|
|
||||||
|
|
||||||
# Display current channel.
|
|
||||||
function nix_channel() {
|
|
||||||
nix-channel --list
|
|
||||||
}
|
|
||||||
|
|
||||||
# Rebuild system.
|
# Rebuild system.
|
||||||
# Optionally force the hostname.
|
# Optionally force the hostname.
|
||||||
# Usage: nix_rebuild [HOSTNAME]
|
# Usage: nix_rebuild [HOSTNAME]
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
./module/common/Locale.nix
|
./module/common/Locale.nix
|
||||||
./module/common/Network.nix
|
./module/common/Network.nix
|
||||||
./module/common/Nix.nix
|
./module/common/Nix.nix
|
||||||
./module/common/Packages.nix
|
./module/common/Package.nix
|
||||||
./module/common/Root.nix
|
./module/common/Root.nix
|
||||||
./module/common/Swap.nix
|
./module/common/Swap.nix
|
||||||
./module/common/Users.nix
|
./module/common/Users.nix
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
virt-manager
|
virt-manager
|
||||||
wget
|
wget
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
yt-dlp
|
||||||
zip unzip
|
zip unzip
|
||||||
];
|
];
|
||||||
}
|
}
|
Reference in a new issue