let pins = import ./modules/npins; nlib = import ./modules/lib { inherit pins; lib = import "${pins.nixpkgs-stable}/lib"; }; repos = { stable = import pins.nixpkgs-stable { config.allowUnfree = true; }; unstable = import pins.nixpkgs-unstable { config.allowUnfree = true; }; custom = import /mnt/SnowData/snowy/Documents/repos/nixpkgs { config.allowUnfree = true; }; }; wire = import pins.wire; default = import ./default.nix; in wire.makeHive { inherit default; nixosConfigurations = default.hosts; meta = { nixpkgs = pins.nixpkgs-stable; # specialArgs = { # }; # nodeSpecialArgs = { # desktop = { # args = { # inherit nixpkgs; # inherit repos; # npins = nlib.gen_npins [ # ]; # flakes = nlib.gen_flakes [ # "hjem" # "hjem-rum" # "zen-browser" # "helium" # "nix-gaming-edge" # "sops-nix" # ]; # }; # }; # snow-den = { # }; # snowlab = { # args = { # inherit nixpkgs; # flakes = nlib.gen_flakes [ # "sops-nix" # ]; # }; # }; # }; }; } # defaults = # { # name, # nodes, # pkgs, # ... # }: # { # # import = [ # # ./default-module.nix # # # module that is imported for all nodes # # ]; # # # all nodes should include vim! # # environment.systemPackages = [ wire.packages.${system}.wire ]; # }; # snow-den = # { # name, # nodes, # pkgs, # ... # }: # { # imports = [ # ./hosts/server # ]; # deployment = { # target = { # host = "server"; # }; # tags = [ "x86" ]; # sshOptions = [ # "ForwardAgent=true" # ]; # }; # }; # }