sudo nix-store --verify --check-contents --repair
Also, This https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-sync-before-registering
if set to true
would eliminate possibility to corrupt system when it shuts down during install.
nix flake lock --commit-lock-file --update-input nvim
ls /boot/efi/loader/entries | wc -l # => 100
sudo nix-collect-garbage --delete-older-than 7d
ls /boot/efi/loader/entries | wc -l # => 100
sudo nixos-rebuild --install-bootloader --flake .# switch
ls /boot/efi/loader/entries | wc -l # => 2
# nix search <installable> <regex>
nix search github:NixOS/nixpkgs htop
nix-env -q # list installed
nix-env -e htop # unistall
nix-env -u htop # upgrade
nix-env -i htop # install
# what
nix-env --list-generations
# and SYSTEM generations
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
Thank you!
- https://gvolpe.com/blog/neovim-meets-nix-flakes/
- https://github.com/Quoteme/neovim-flake
- https://github.com/zmre/pwnvim !!!
- https://github.com/danth/stylix
- https://github.com/Gerg-L/nvim-flake
- https://github.com/balsoft/nixos-config
- https://github.com/MayNiklas/nixos
- https://github.com/niksingh710/NixConfig
- https://github.com/yurrriq/dotfiles
- https://gist.github.com/ingenieroariel/fc9b10987d8d43c9535487f12d93e4b5
Beauty: