dotfiles/hosts/default.nix
2023-04-25 21:10:57 +01:00

24 lines
482 B
Nix

{
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
];
};
}