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