My Nix Configuration
1{ ... }: 2{ 3 imports = [ 4 # Machine-specific configurations. 5 ./bootloader.nix 6 ./firewall.nix 7 ./networking.nix 8 ./hardware.nix 9 10 # Running Services 11 # keep-sorted start 12 ./services/anubis.nix 13 ./services/avahi.nix 14 ./services/bots.nix 15 ./services/deemix.nix 16 ./services/gdq-cals.nix 17 ./services/git.nix 18 ./services/golink.nix 19 ./services/grafana.nix 20 ./services/immich.nix 21 ./services/jellyfin.nix 22 ./services/matrix.nix 23 ./services/miniflux.nix 24 ./services/nextcloud 25 ./services/nginx.nix 26 ./services/pinchflat.nix 27 ./services/planka.nix 28 ./services/pocket-id.nix 29 ./services/podman.nix 30 ./services/postgres.nix 31 ./services/prometheus.nix 32 ./services/scrutiny.nix 33 ./services/syncthing.nix 34 ./services/tailscale.nix 35 ./services/tangled.nix 36 ./services/vaultwarden.nix 37 ./services/zfs.nix 38 # keep-sorted end 39 ]; 40 nix.settings.max-jobs = 12; 41 networking = { 42 networkmanager = { 43 enable = true; 44 }; 45 wireless = { 46 enable = false; 47 }; 48 }; 49 fileSystems = { 50 "/" = { 51 fsType = "btrfs"; 52 device = "/dev/disk/by-uuid/f15e4072-80dc-414e-a1fc-158ea441aebd"; 53 # options = [ "subvol=@" ]; 54 }; 55 "/boot/efi" = { 56 fsType = "vfat"; 57 device = "/dev/disk/by-uuid/EE05-66B4"; 58 }; 59 "/var" = { 60 fsType = "zfs"; 61 device = "tank/var"; 62 options = [ "zfsutil" ]; 63 }; 64 "/var/log/journal" = { 65 fsType = "zfs"; 66 device = "tank/var/log/journal"; 67 options = [ "zfsutil" ]; 68 }; 69 }; 70 swapDevices = [ { device = "/dev/disk/by-uuid/e69409bc-9cf0-4795-8620-33a021a4b729"; } ]; 71 users.groups.misc.gid = 1000; 72 time.timeZone = "America/New_York"; 73 py = { 74 profiles.server.enable = true; 75 users.default.enable = true; 76 programs = { 77 fish.enable = true; 78 neovim.enable = true; 79 }; 80 }; 81 services.pulseaudio.enable = false; 82}