reorganize
This commit is contained in:
@@ -128,7 +128,7 @@
|
|||||||
(if let
|
(if let
|
||||||
dir = builtins.readDir ./.;
|
dir = builtins.readDir ./.;
|
||||||
in dir ? ${x} && dir.${x} == "directory" then
|
in dir ? ${x} && dir.${x} == "directory" then
|
||||||
import ./${x}/home-manager
|
import ../../homes/${x}/home-manager
|
||||||
else {})
|
else {})
|
||||||
|
|
||||||
(if inputs ? ${x} then inputs.${x} else {})
|
(if inputs ? ${x} then inputs.${x} else {})
|
||||||
|
|||||||
@@ -6,13 +6,4 @@
|
|||||||
(file: (dir.${file} == "directory"))
|
(file: (dir.${file} == "directory"))
|
||||||
(builtins.attrNames dir)
|
(builtins.attrNames dir)
|
||||||
);
|
);
|
||||||
|
|
||||||
config = {
|
|
||||||
programs.virt-manager.enable = true;
|
|
||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
|
||||||
|
|
||||||
virtualisation.spiceUSBRedirection.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1,17 @@
|
|||||||
{ ... }: {}
|
{ ... }: {
|
||||||
|
|
||||||
|
imports = let
|
||||||
|
dir = builtins.readDir ./.;
|
||||||
|
in builtins.map (x: ./${x}) (builtins.filter
|
||||||
|
(file: (dir.${file} == "directory"))
|
||||||
|
(builtins.attrNames dir)
|
||||||
|
);
|
||||||
|
|
||||||
|
config = {
|
||||||
|
programs.virt-manager.enable = true;
|
||||||
|
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user