mirror of
https://github.com/JuLi0n21/publicConfig.git
synced 2026-04-19 16:00:08 +00:00
first commit
This commit is contained in:
40
configs.nix
Normal file
40
configs.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user