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/jellyfin.nix 21 ./services/matrix.nix 22 ./services/miniflux.nix 23 ./services/nextcloud 24 ./services/nginx.nix 25 ./services/pinchflat.nix 26 ./services/planka.nix 27 ./services/pocket-id.nix 28 ./services/podman.nix 29 ./services/postgres.nix 30 ./services/prometheus.nix 31 ./services/scrutiny.nix 32 ./services/syncthing.nix 33 ./services/tailscale.nix 34 ./services/tangled.nix 35 ./services/vaultwarden.nix 36 ./services/zfs.nix 37 # keep-sorted end 38 ]; 39 nix.settings.max-jobs = 12; 40 networking = { 41 networkmanager = { 42 enable = true; 43 }; 44 wireless = { 45 enable = false; 46 }; 47 }; 48 fileSystems = { 49 "/" = { 50 fsType = "btrfs"; 51 device = "/dev/disk/by-uuid/f15e4072-80dc-414e-a1fc-158ea441aebd"; 52 # options = [ "subvol=@" ]; 53 }; 54 "/boot/efi" = { 55 fsType = "vfat"; 56 device = "/dev/disk/by-uuid/EE05-66B4"; 57 }; 58 "/var" = { 59 fsType = "zfs"; 60 device = "tank/var"; 61 options = [ "zfsutil" ]; 62 }; 63 "/var/log/journal" = { 64 fsType = "zfs"; 65 device = "tank/var/log/journal"; 66 options = [ "zfsutil" ]; 67 }; 68 }; 69 swapDevices = [ { device = "/dev/disk/by-uuid/e69409bc-9cf0-4795-8620-33a021a4b729"; } ]; 70 users.groups.misc.gid = 1000; 71 time.timeZone = "America/New_York"; 72 py = { 73 profiles.server.enable = true; 74 users.default.enable = true; 75 programs = { 76 fish.enable = true; 77 neovim.enable = true; 78 }; 79 }; 80 services.pulseaudio.enable = false; 81}