-
Make the follwing changes the default nixos config with
sudoedit /etc/nixos/configuration.nix- Add
nix.settings.experimental-features = "nix-command flakes"; - Add
gittoenvironment.systemPackages
- Add
-
Apply the updates:
sudo nixos-rebuild switch -
Clone this repo:
mkdir /home/howird/nix git clone https://github.com/howird/nix-config.git /home/howird/nix/config # or if you have your ssh keys: git clone git@github.com:howird/nix-config /home/howird/nix/config- Apply this config
sudo nixos-rebuild switch --flake .#<hostname>- Install nix here
- Install standalone home-manager, with these commands
- Enable experimental features
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf- Apply this config
home-manager switch --flake .#howard@vipnixwird- first try:
nix build nixpkgs#<pkg name> eza --tree result/ --level 3- first try running with args:
nixwird --refresh --repair- if nix store is broken:
sudo nix-collect-garbage -d nix-store --verify --check-contents --repair- if any derivations cannot be fixed with above command, try:
sudo nix-store --delete --ignore-liveness /nix/store/<derivation location>.drv- FrostPhoenix initial hyprland setup and ricing
- Donovan Glover most other hyprland related stuff