forked from pub-solar/infra
Benjamin Bädorf
e8ad662631
This commit changes the file structure around, so that we have the following parts: `/modules` contains reusable logic blocks for hosts. `/hosts` contains host configurations. `/lib` contains nix library functions. `/overlays` contains overlay files. `/public-keys` contains all information regarding public keys. This change reduces the complexity of flake.nix, instead delegating this out to the `default.nix` files in the above directories.
19 lines
469 B
Nix
19 lines
469 B
Nix
{ self, ... }:
|
|
{
|
|
flake = {
|
|
nixosConfigurations = {
|
|
nachtigall = self.nixos-flake.lib.mkLinuxSystem {
|
|
imports = [
|
|
self.inputs.agenix.nixosModules.default
|
|
self.nixosModules.home-manager
|
|
./nachtigall
|
|
self.nixosModules.overlays
|
|
self.nixosModules.unlock-zfs-on-boot
|
|
self.nixosModules.core
|
|
self.nixosModules.docker
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|