cd ~
git clone [email protected]:akaer/nixos-configs.git
As the NIXOS configuration is maintained inside this GIT repository we have to make the system aware of this files. This can easily be done by symlinking the configs:
sudo ln -s ~/nixos-configs/$HOSTNAME/configuration.nix /etc/nixos/configuration.nix
sudo ln -s ~/nixos-configs/$HOSTNAME/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
sudo nixos-rebuild switch
sudo nix-channel --list
To allow working with the home-manager we have to add the channel
sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager
sudo nix-channel --update
sudo nix-channel --update
sudo nixos-rebuild switch --upgrade
sudo nix-store --gc
sudo nix-collect-garbage --delete-old
sudo nix profile history --profile /nix/var/nix/profiles/system --extra-experimental-features nix-command
sudo nix profile wipe-history --older-than 7d --profile /nix/var/nix/profiles/system --extra-experimental-features nix-command
sudo nix-env -p /nix/var/nix/profiles/system --list-generations
- https://github.com/enoren5/vbox-nixos-configs/tree/main
- https://gvolpe.com/blog/home-manager-dotfiles-management/
- https://github.com/Alan01252/nixos-config/
- https://github.com/BirdeeHub/birdeeSystems/
- https://github.com/jshcmpbll/jsh-nix/blob/0e9589b12c58fce61d8ca87f3067e210e24c31cb/dots/i3/server-config#L3
- https://www.reddit.com/r/NixOS/comments/1d0b1i3/setup_monitors_in_i3/
- https://github.com/efim/dotfiles/blob/18c3dd12a596d5fd2a0ca3bc7b734fe9206637b0/nixpkgs/hosts/personal-laptop/home.nix
- https://github.com/efim/dotfiles/blob/18c3dd12a596d5fd2a0ca3bc7b734fe9206637b0/nixpkgs/my-autorandr.nix
- nix-community/home-manager#222
- https://discourse.nixos.org/t/lightdm-dwm-issues/32661
- https://discourse.nixos.org/t/lightdm-greeter-with-nm-applet-or-any-other-network-connectivity-tool/10454