added lix + stable bigbox
This commit is contained in:
1 parent
d57c8c761c
commit
2e9254f4df
5 files changed
+124
-13
No files matched your search
+4
-1
@@ -1,18 +1,20 @@
|
||||
{ nixpkgs
|
||||
, home-manager
|
||||
, nix-darwin
|
||||
, lix-module
|
||||
}:
|
||||
let
|
||||
makeImports =
|
||||
{ attrs
|
||||
, home-manager-modules
|
||||
, extraConfiguration ? [ ]
|
||||
}: (if (isNull attrs.configuration) then [ ] else [ attrs.configuration ])
|
||||
++ [
|
||||
(import ./main.nix attrs)
|
||||
] ++ (if attrs.home-manager.enable then
|
||||
home-manager-modules
|
||||
else
|
||||
[ ]);
|
||||
[ ]) ++ extraConfiguration;
|
||||
in
|
||||
{
|
||||
makeNixOsModule =
|
||||
@@ -25,6 +27,7 @@ in
|
||||
modules = (makeImports {
|
||||
attrs = attrs;
|
||||
home-manager-modules = [ home-manager.nixosModules.default ];
|
||||
extraConfiguration = [ lix-module.nixosModules.default ];
|
||||
});
|
||||
};
|
||||
makeNixOsModuleMaker =
|
||||
|
||||
Reference in new issue
Block a user