mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
wip: remove very specific special args and unify library functions
This commit is contained in:
parent
dfc3084fe9
commit
68bb9731d3
28 changed files with 594 additions and 644 deletions
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
nixos-hardware,
|
||||
nodes,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
nixos-hardware.common-cpu-intel
|
||||
nixos-hardware.common-pc-ssd
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-pc-ssd
|
||||
../../modules/optional/hardware/intel.nix
|
||||
../../modules/optional/hardware/physical.nix
|
||||
|
||||
|
@ -50,6 +50,13 @@
|
|||
enable = true;
|
||||
pool = "rpool";
|
||||
};
|
||||
todo
|
||||
configPath =
|
||||
if nodePath != null && builtins.pathExists (nodePath + "/microvms/${name}") then
|
||||
nodePath + "/microvms/${name}"
|
||||
else if nodePath != null && builtins.pathExists (nodePath + "/microvms/${name}") then
|
||||
nodePath + "/microvms/${name}.nix"
|
||||
else null;
|
||||
};
|
||||
in {
|
||||
kanidm = defaults;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue