This is the NixOS config for my work laptop, a XPS 13 9360.
It uses systemd-boot, Xorg, GDM, GNOME and LVM on LUKS.
I spent a lot of time reading other user's configurations, mainly from the wiki's Configuration Collection. This is where I learned the most!
This posts helped me install NixOS on my XPS:
- https://nixos.org/nixos/manual/
- https://blog.qfpl.io/posts/installing-nixos/
- https://gist.github.com/RobBlackwell/64149c868f2361bb4c6e9d4fede65633
- https://grahamc.com/blog/nixos-on-dell-9560
- https://chris-martin.org/2015/installing-nixos
I'm using NixOS unstable. To replace to nixos-channel with unstable:
# nix-channel --add https://nixos.org/channels/nixos-unstable nixos
If you didn't use unstable during the install, you will need to update and rebuild:
# nix-channel --update nixos
# nixos-rebuild switch
cf. https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module
# nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
# nix-channel --update
$ git clone https://github.com/angristan/nixos-config.git ~/config
$ sudo ln -s ~/config /etc/nixos
$ sudo nixos-rebuild switch