Personal-use NixOS configuration
at main 35 lines 849 B view raw
1{ 2 flakeRoot, 3 nixos-hardware, 4 pkgs, 5 ... 6}: 7 8{ 9 imports = [ 10 nixos-hardware.nixosModules.msi-b350-tomahawk 11 nixos-hardware.nixosModules.common-pc-ssd 12 ./hardware-configuration.nix 13 (flakeRoot + /hardware/cpu/amd.nix) 14 (flakeRoot + /hardware/gpu/amd.nix) 15 (flakeRoot + /hardware/audio/pipewire.nix) 16 (flakeRoot + /hardware/audio/noise-cancellation.nix) 17 (flakeRoot + /hardware/peripherals/xr1.nix) 18 19 (flakeRoot + /config/common) 20 (flakeRoot + /config/common/boot/secureboot.nix) 21 (flakeRoot + /config/common/virtualization.nix) 22 23 (flakeRoot + /config/desktop) 24 (flakeRoot + /config/desktop/environments/gnome.nix) 25 (flakeRoot + /config/desktop/system/gamemode.nix) 26 27 ./users 28 ]; 29 30 boot.kernelPackages = pkgs.linuxPackages_zen; 31 32 time.timeZone = "US/Eastern"; 33 34 system.stateVersion = "24.05"; 35}