nixos-config/nix/default.nix

31 lines
609 B
Nix
Raw Normal View History

2025-05-18 09:51:46 +02:00
# * Outputs - default.nix
2025-05-18 08:49:34 +02:00
{ inputs, configRootPath }:
let
stable = inputs.config-stable;
unstable = inputs.config-unstable;
nixpkgs = stable.nixpkgs;
nixpkgs-unstable = unstable.nixpkgs;
mkkArg = {
inherit stable;
inherit unstable;
inherit configRootPath;
};
in
{
# * NixOS configurations
nixosConfigurations = {
# ** materusPC
"materusPC" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { mkkArg = mkkArg // {current = stable;}; };
modules = [
./common.nix
./hosts/materusPC.nix
];
};
2025-05-18 09:51:46 +02:00
# * default.nix END
2025-05-18 08:49:34 +02:00
};
}