+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
e48c8b4
main
1{ 2imports = [ 3../../mixins/nixos/btrfs.nix 4]; 5 6hardware = { 7enableAllFirmware = true ; 8cpu . intel . updateMicrocode = true ; 9cpu . intel . npu . enable = true ; 10graphics . enable = true ; 11bluetooth . enable = true ; 12nvidia = { 13modesetting . enable = true ; 14powerManagement . finegrained = false ; 15open = false ; 16nvidiaSettings = true ; 17branch = "legacy_580" ; 18}; 19}; 20 21services = { 22xserver . videoDrivers = [ "nvidia" ]; 23hardware . openrgb . enable = true ; 24}; 25 26fileSystems = let 27subvol = name :opts :{ label = "data" ; fsType = "btrfs" ; 28options = [ "subvol=@ ${ name } " ] ++ opts ; }; 29in { 30"/boot" = { label = "boot" ; fsType = "vfat" ; }; 31"/git" = subvol "git" [ "noatime" ]; 32"/photos" = subvol "photos" [ ]; 33"/website" = subvol "website" [ ]; 34# "/mnt/data" = { device = "UUID=BE18B5B118B56953"; fsType = "ntfs-3g"; options = ["nofail"]; }; 35}; 36}