mirror of
https://github.com/JuLi0n21/publicConfig.git
synced 2026-04-19 16:00:08 +00:00
40 lines
667 B
Nix
40 lines
667 B
Nix
{ inputs }:
|
|
|
|
let
|
|
lib = inputs.nixpkgs.lib;
|
|
|
|
recursiveImport = import ./rI.nix { inherit lib; };
|
|
|
|
specialArgs = {
|
|
inherit inputs;
|
|
baseVars.username = "julian";
|
|
};
|
|
in
|
|
{
|
|
|
|
framework = lib.nixosSystem {
|
|
specialArgs = specialArgs // {
|
|
hostVars = {
|
|
hostname = "framework-12";
|
|
stateVersion = "25.05";
|
|
};
|
|
};
|
|
modules = recursiveImport [
|
|
./base
|
|
./hosts/framework
|
|
];
|
|
};
|
|
|
|
|
|
notframework = lib.nixosSystem {
|
|
specialArgs = specialArgs // {
|
|
hostVars = {
|
|
hostname = "framework-12";
|
|
stateVersion = "25.05";
|
|
};
|
|
};
|
|
modules = recursiveImport [
|
|
./base
|
|
];
|
|
};
|
|
} |