grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderi gotta stop doing these massive changesb70d9f9

main
1.2 KiB59 linesraw
1{ ... }:
2
3let
4  host = import ../hosts.nix;
5in
6{
7  imports = [
8    ../modules/tailscale.nix
9    ../modules/users.nix
10    ../modules/nixos-base.nix
11    ../modules/nix-builder.nix
12    ../modules/terminal.nix
13    ../modules/immich.nix
14    ../modules/jellyfin.nix
15    ../modules/samba.nix
16    ../modules/backups.nix
17    ../modules/copyparty.nix
18    ../modules/hotspot.nix
19    ../modules/fedora-vm.nix
20  ];
21
22  boot.loader = {
23    systemd-boot.enable = true;
24    efi = {
25      canTouchEfiVariables = true;
26      efiSysMountPoint = "/boot";
27    };
28  };
29
30  hardware.enableRedistributableFirmware = true;
31  hardware.graphics.enable = true;
32
33  programs.virt-manager.enable = true;
34  virtualisation.libvirtd.enable = true;
35
36  networking.networkmanager.enable = true;
37  fileSystems = {
38    "/mnt/data" = {
39      device = "/dev/disk/by-uuid/a40705bf-4ee5-4f61-a0df-798a62ab72bc";
40      fsType = "ext4";
41      options = [ "noatime" ];
42    };
43    "/mnt/backup" = {
44      device = "/dev/disk/by-uuid/190c9a87-d9d3-4426-8597-8e65bf1cce91";
45      fsType = "ext4";
46      options = [
47        "noatime"
48        "nofail"
49      ];
50    };
51  };
52  users.users.${host.user} = {
53    uid = 1000;
54    extraGroups = [ "libvirtd" ];
55  };
56
57  system.stateVersion = "26.05";
58
59}