Personal-use NixOS configuration
1{
2 flakeRoot,
3 nixos-hardware,
4 pkgs,
5 ...
6}:
7
8{
9 imports = [
10 nixos-hardware.nixosModules.common-pc-ssd
11 ./hardware-configuration.nix
12 ./disks.nix
13 (flakeRoot + /hardware/cpu/amd.nix)
14 (flakeRoot + /hardware/gpu/amd.nix)
15 (flakeRoot + /hardware/audio/pipewire.nix)
16 (flakeRoot + /hardware/network/bluetooth.nix)
17 (flakeRoot + /hardware/peripherals/rgb.nix)
18
19 (flakeRoot + /config/common)
20 (flakeRoot + /config/common/boot/systemd-boot.nix)
21
22 (flakeRoot + /config/desktop)
23 (flakeRoot + /config/desktop/environments/gnome.nix)
24 (flakeRoot + /config/desktop/system/gamemode.nix)
25
26 ./users
27 ];
28
29 boot.kernelPackages = pkgs.linuxPackages_zen;
30
31 time.timeZone = "US/Eastern";
32
33 system.stateVersion = "25.05";
34}