adding first steps to cnixlab and some small fixes
This commit is contained in:
@@ -23,15 +23,15 @@
|
||||
# get these into the module system
|
||||
specialArgs = {inherit inputs self userConfig systemConfig hostConfig cnstConfig toothpickConfig umodPath smodPath;};
|
||||
in {
|
||||
cnix = nixosSystem {
|
||||
cnixtop = nixosSystem {
|
||||
inherit specialArgs;
|
||||
|
||||
modules = [
|
||||
./cnix
|
||||
./cnixtop
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.cnst.imports = homeImports."cnst@cnix";
|
||||
users.cnst.imports = homeImports."cnst@cnixtop";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
@@ -41,22 +41,6 @@
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
toothpc = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./toothpc
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.toothpick.imports = homeImports."toothpick@toothpc";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
self.nixosModules.nixos
|
||||
inputs.chaotic.nixosModules.default
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
cnixpad = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
@@ -73,5 +57,37 @@
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
cnixlab = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./cnixlab
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.cnst.imports = homeImports."adamin@cnixlab";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
self.nixosModules.nixos
|
||||
inputs.chaotic.nixosModules.default
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
toothpc = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./toothpc
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.toothpick.imports = homeImports."toothpick@toothpc";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
self.nixosModules.nixos
|
||||
inputs.chaotic.nixosModules.default
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user