aboutsummaryrefslogtreecommitdiff
path: root/hosts/default.nix
blob: 36a8b85fc16c84f8f88f9beda4f2ffbf7825bca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  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
    ];
  };
}