diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 240 |
1 files changed, 161 insertions, 79 deletions
@@ -16,83 +16,165 @@ }; }; - outputs = { ... } @ inputs: let - helpers = import ./modules { inherit inputs; }; - inherit (helpers) mergeSets mkSystem; - in { - nixosConfigurations = mergeSets [ - (mkSystem "woodpecker" inputs.nixpkgs [ - { - type = "profiles"; - modules = [ "common" "cosmic" "fstrim" "libvirtd" "nvidia" "pipewire" "security" "steam" "wireshark" ]; - } - ]) - (mkSystem "sparrow" inputs.nixpkgs [ - { - type = "profiles"; - modules = [ "common" "cosmic" "pipewire" "security" "vpn" ]; - } - ]) - (mkSystem "frigg" inputs.nixpkgs [ - { - type = "profiles"; - modules = [ "common" "podman" "security" "upgrade" "wireguard" "zfs" ]; - } - { - type = "scripts"; - modules = [ "motd" "pushover" "zquota" ]; - } - { - type = "services"; - modules = [ "cgit" "proxy" "sftpgo" "ssh" ]; - } - ]) - (mkSystem "heimdall" inputs.nixpkgs [ - { - type = "profiles"; - modules = [ "common" "security" "upgrade" ]; - } - { - type = "scripts"; - modules = [ "motd" "pushover" ]; - } - { - type = "services"; - modules = [ "dns" "searx" "ssh" ]; - } - ]) - (mkSystem "odin" inputs.nixpkgs [ - { - type = "containers"; - modules = [ "freshrss" "jellyfin" "lubelogger" "pinchflat" "vaultwarden" "watchtower" ]; - } - { - type = "profiles"; - modules = [ "common" "podman" "security" "share" "upgrade" "wireguard" "zfs" ]; - } - { - type = "scripts"; - modules = [ "motd" "pushover" "zquota" ]; - } - { - type = "services"; - modules = [ "immich" "proxy" "ssh" ]; - } - ]) - (mkSystem "thor" inputs.nixpkgs [ - { - type = "profiles"; - modules = [ "common" "security" "upgrade" "wireguard" ]; - } - { - type = "scripts"; - modules = [ "motd" "pushover"]; - } - { - type = "services"; - modules = [ "fediverse" "proxy" "ssh" "web" ]; - } - ]) - ]; - }; + outputs = + { ... }@inputs: + let + helpers = import ./modules { inherit inputs; }; + inherit (helpers) mergeSets mkSystem; + in + { + nixosConfigurations = mergeSets [ + (mkSystem "frigg" inputs.nixpkgs [ + { + type = "profiles"; + modules = [ + "common" + "podman" + "security" + "upgrade" + "wireguard" + "zfs" + ]; + } + { + type = "scripts"; + modules = [ + "motd" + "pushover" + "zquota" + ]; + } + { + type = "services"; + modules = [ + "cgit" + "proxy" + "sftpgo" + "ssh" + ]; + } + ]) + (mkSystem "heimdall" inputs.nixpkgs [ + { + type = "profiles"; + modules = [ + "common" + "security" + "upgrade" + ]; + } + { + type = "scripts"; + modules = [ + "motd" + "pushover" + ]; + } + { + type = "services"; + modules = [ + "dns" + "searx" + "ssh" + ]; + } + ]) + (mkSystem "odin" inputs.nixpkgs [ + { + type = "containers"; + modules = [ + "freshrss" + "jellyfin" + "lubelogger" + "pinchflat" + "vaultwarden" + "watchtower" + ]; + } + { + type = "profiles"; + modules = [ + "common" + "podman" + "security" + "share" + "upgrade" + "wireguard" + "zfs" + ]; + } + { + type = "scripts"; + modules = [ + "motd" + "pushover" + "zquota" + ]; + } + { + type = "services"; + modules = [ + "immich" + "proxy" + "ssh" + ]; + } + ]) + (mkSystem "sparrow" inputs.nixpkgs ( + inputs.nixpkgs.lib.singleton { + type = "profiles"; + modules = [ + "common" + "cosmic" + "pipewire" + "security" + "vpn" + ]; + } + )) + (mkSystem "thor" inputs.nixpkgs [ + { + type = "profiles"; + modules = [ + "common" + "security" + "upgrade" + "wireguard" + ]; + } + { + type = "scripts"; + modules = [ + "motd" + "pushover" + ]; + } + { + type = "services"; + modules = [ + "fediverse" + "proxy" + "ssh" + "web" + ]; + } + ]) + (mkSystem "woodpecker" inputs.nixpkgs ( + inputs.nixpkgs.lib.singleton { + type = "profiles"; + modules = [ + "common" + "cosmic" + "fstrim" + "libvirtd" + "nvidia" + "pipewire" + "security" + "steam" + "wireshark" + ]; + } + )) + ]; + }; } |