aboutsummaryrefslogtreecommitdiff
path: root/hosts/default.nix
blob: e12b1f6e311a3358ba4388b651ab95896aa63a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  nixpkgs,
  self,
  outputs,
  ...
}: let
  inputs = self.inputs;

  home-manager = inputs.home-manager.nixosModules.home-manager;
  homes = ../homes;
in {
  nixbox = nixpkgs.lib.nixosSystem {
    specialArgs = {inherit inputs outputs;};
    modules = [
      # this list defines which files will be imported to be used as "modules" in the system config
      ./nixbox/configuration.nix

      # use the nixos-module for home-manager
      home-manager
      homes
    ];
  };

  nixpad = nixpkgs.lib.nixosSystem {
    specialArgs = {inherit inputs outputs;};
    modules = [
      # this list defines which files will be imported to be used as "modules" in the system config
      ./nixpad/configuration.nix

      # use the nixos-module for home-manager
      home-manager
      homes
    ];
  };
}