feat(deertopia): Add Copyparty module

This commit is contained in:
Madeleine Sydney
2025-02-24 05:22:18 -07:00
parent c8ba339b4b
commit c460157918
5 changed files with 130 additions and 29 deletions

View File

@@ -21,6 +21,7 @@ let
mkHost = hostName:
let system = import ../hosts/${hostName}/system.nix;
in nixpkgs.lib.nixosSystem {
# Pass `inputs` to all modules as a 'special arg,' like `config` or `lib`.
specialArgs = inputs;
inherit system;
modules = [
@@ -28,9 +29,11 @@ let
inputs.self.nixosModules.default
# TODO: Move imports to their own respective modules.
inputs.disko.nixosModules.disko
inputs.sops-nix.nixosModules.sops
inputs.impermanence.nixosModules.impermanence
inputs.copyparty.nixosModules.default
# Directory name should always match host name.
({ ... }: { networking.hostName = hostName; })