This repository has been archived on 2024-11-22. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-old/lib/mkSystem.nix
2024-08-04 06:26:01 +00:00

11 lines
No EOL
285 B
Nix

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