diff options
| author | seth <[email protected]> | 2023-05-25 15:10:45 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-25 15:10:45 -0400 |
| commit | 9c2239488fb0c879ea98b6ec9eeda73603366bde (patch) | |
| tree | 6daba7d3d708a968220f16888cf87d12beb4860d /lib/configs.nix | |
| parent | 73da18a0ded305734e6e679d7adb36b19a74d9bc (diff) | |
move lib to nix-exprs
Diffstat (limited to 'lib/configs.nix')
| -rw-r--r-- | lib/configs.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/configs.nix b/lib/configs.nix deleted file mode 100644 index 8da37bc..0000000 --- a/lib/configs.nix +++ /dev/null @@ -1,37 +0,0 @@ -inputs: { - mkNixOS = { - name, - profile, - modules ? profile.modules, - system ? profile.system, - specialArgs ? profile.specialArgs, - }: - profile.builder { - inherit specialArgs system; - modules = - [../hosts/${name}] - ++ ( - if modules == profile.modules - then modules - else modules ++ profile.modules - ); - }; - - mkHMUser = { - name, - modules ? [], - pkgs ? import inputs.nixpkgs {system = "x86_64-linux";}, - extraSpecialArgs ? inputs, - }: - inputs.home-manager.lib.homeManagerConfiguration { - inherit pkgs extraSpecialArgs; - modules = - [ - { - programs.home-manager.enable = true; - } - ] - ++ [../users/${name}/home.nix] - ++ modules; - }; -} |
