+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanAdd fancy redir for allye48c8b4

main
927 B36 linesraw
1{
2  imports = [
3    ../../mixins/nixos/btrfs.nix
4  ];
5
6  hardware = {
7    enableAllFirmware = true;
8    cpu.intel.updateMicrocode = true;
9    cpu.intel.npu.enable = true;
10    graphics.enable = true;
11    bluetooth.enable = true;
12    nvidia = {
13      modesetting.enable = true;
14      powerManagement.finegrained = false;
15      open = false;
16      nvidiaSettings = true;
17      branch = "legacy_580";
18    };
19  };
20
21  services = {
22    xserver.videoDrivers = [ "nvidia" ];
23    hardware.openrgb.enable = true;
24  };
25
26  fileSystems = let
27    subvol = name: opts: { label = "data"; fsType = "btrfs";
28      options = [ "subvol=@${name}" ] ++ opts; };
29    in {
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}