19 lines
556 B
Text
19 lines
556 B
Text
|
|
### Migrate to a Newer Version of Nixpkgs
|
||
|
|
```bash
|
||
|
|
# Determine the channel name you're using
|
||
|
|
nix-channel --list
|
||
|
|
nix-channel --remove <OLD_CHANNEL>
|
||
|
|
nix-channel --add <NEW_CHANNEL> # ie https://nixos.org/channels/nixos-25.05
|
||
|
|
nix-channel --update
|
||
|
|
|
||
|
|
# Now upgrade system profile (log to file in case of failure)
|
||
|
|
nixos-rebuild boot --upgrade | tee rebuild.log
|
||
|
|
```
|
||
|
|
|
||
|
|
### Finding New Things to Do
|
||
|
|
`man 5 configuration.nix` is incredibly useful
|
||
|
|
similar info can be found at https://mynixos.com/options
|
||
|
|
|
||
|
|
### For your curiosity
|
||
|
|
1. https://wiki.nixos.org/wiki/Firejail
|