Nix : Add channel check.

This commit is contained in:
Dmitry Voronin 2024-01-25 00:39:42 +03:00
parent b7c54ef692
commit 8fae2e51fd

View file

@ -28,6 +28,11 @@ function nix_unstable_small() {
nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos
}
# Display current channel.
function nix_channel() {
nix-channel --list
}
# Update system (rebuild).
function nix_update() {
nixos-rebuild switch