dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

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