reflopactor (#1)

This commit is contained in:
NotAShelf 2023-04-25 23:10:57 +03:00 committed by GitHub
commit 243a9339f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 140 additions and 283 deletions

23
hosts/default.nix Normal file
View file

@ -0,0 +1,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
];
};
}