diff options
| author | seth <[email protected]> | 2023-08-16 10:46:16 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-08-17 13:55:47 -0400 |
| commit | 2820dc79325f7ecc20193b8235ba00d541eeab8d (patch) | |
| tree | 241aa0b95c90a56febae4b8457d832bd53bba2c8 /hosts/default.nix | |
| parent | 54f63fc2ddb0967d4ec020ce3389edec8ce3e161 (diff) | |
hosts+users: use new lib to generate configs
Diffstat (limited to 'hosts/default.nix')
| -rw-r--r-- | hosts/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hosts/default.nix b/hosts/default.nix index f1ff518..e5743e1 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,23 +1,21 @@ { inputs, - myLib, self, withSystem, ... }: { flake = let - inherit (myLib.configs inputs) mkSystems; - + inherit (self.lib.configs) mapSystems; profiles = import ./profiles.nix {inherit self inputs;}; in { - darwinConfigurations = mkSystems { + darwinConfigurations = mapSystems { caroline = { system = "x86_64-darwin"; profile = profiles.personal-darwin; }; }; - nixosConfigurations = mkSystems { + nixosConfigurations = mapSystems { glados = { modules = with inputs; [ nixos-hardware.nixosModules.common-cpu-amd-pstate |
