dot
vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks
| 1 | # The desktop: ASUS TUF B850-PLUS, Ryzen 7 9850X3D, RTX 3080 Ti. |
| 2 | { inputs, ... }: |
| 3 | { |
| 4 | imports = [ |
| 5 | ./hardware-configuration.nix |
| 6 | ./disko.nix |
| 7 | inputs.disko.nixosModules.disko |
| 8 | ../../modules/nixos |
| 9 | inputs.home-manager.nixosModules.home-manager |
| 10 | ]; |
| 11 | |
| 12 | networking.hostName = "desktop"; |
| 13 | |
| 14 | home-manager = { |
| 15 | useGlobalPkgs = true; |
| 16 | useUserPackages = true; |
| 17 | extraSpecialArgs = { inherit inputs; }; |
| 18 | # The first switch finds the old symlinks into ~/git/dotfiles where Home |
| 19 | # Manager wants its own; they are moved aside with this suffix, not deleted. |
| 20 | backupFileExtension = "pre-nixos"; |
| 21 | users.vizie = import ../../modules/home; |
| 22 | }; |
| 23 | |
| 24 | # Leave this at the release the machine was installed with, even after |
| 25 | # upgrading: it only controls the defaults of stateful things such as |
| 26 | # database formats. It is not the NixOS version you run. |
| 27 | system.stateVersion = "26.05"; |
| 28 | } |