mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
18 lines
466 B
Nix
18 lines
466 B
Nix
{ builtins, inputs, system, pkgs, ... }: {
|
|
mkHost = host:
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
specialArgs = let name = builtins.match "muho" (builtins.toString host);
|
|
in if name == "muho" then {
|
|
inherit inputs system pkgs;
|
|
} else {
|
|
inherit inputs system;
|
|
};
|
|
|
|
modules = [
|
|
host
|
|
./modules/nixos
|
|
inputs.home-manager.nixosModules.default
|
|
inputs.stylix.nixosModules.stylix
|
|
];
|
|
};
|
|
}
|