hell n back

This commit is contained in:
Jet Pham 2024-03-22 23:35:56 -07:00
parent 3ee6761b45
commit cac7203033
45 changed files with 2988 additions and 177 deletions

3
lib/default.nix Normal file
View file

@ -0,0 +1,3 @@
inputs: {
mkSystem = import ./mkSystem.nix inputs;
}

11
lib/mkSystem.nix Normal file
View file

@ -0,0 +1,11 @@
{ self, ... } @ inputs: name: system: inputs.nixpkgs.lib.nixosSystem (
{
inherit system;
specialArgs = { inherit inputs self; };
modules = [
"${self}/hosts/${name}/system.nix"
"${self}/hosts/${name}/user.nix"
inputs.home-manager.nixosModule
];
}
)