diff options
| author | seth <[email protected]> | 2023-05-08 00:22:18 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-08 00:22:18 -0400 |
| commit | 56303d957b2e7527b8e7224ea5642cbeb3c89a88 (patch) | |
| tree | 85767844443927ea7c4db6eb105078e4bcafaea9 | |
| parent | 9cedd06b8589a5d39a7a85e2efe646a8edebac53 (diff) | |
flake: use my homeConfigurations flake-parts module
| -rw-r--r-- | flake.lock | 6 | ||||
| -rw-r--r-- | flake.nix | 8 | ||||
| -rw-r--r-- | users/default.nix | 2 |
3 files changed, 10 insertions, 6 deletions
@@ -206,11 +206,11 @@ ] }, "locked": { - "lastModified": 1683230537, - "narHash": "sha256-Ljv1BhCJg/EETFaAOqRc4Leq7h6G54d71V2oe42TlEw=", + "lastModified": 1683519505, + "narHash": "sha256-be242u0+bCHPVPC/WA7WWoqQ/y9PgMMHQcSiQBOR7/Q=", "owner": "getchoo", "repo": "overlay", - "rev": "5d3773f5ce23f0a07f73761d177130d885232a11", + "rev": "150bf82391638a4ea6a514fbd4704bb62ab22eb6", "type": "github" }, "original": { @@ -98,12 +98,16 @@ }; }; - outputs = inputs: - inputs.flake-parts.lib.mkFlake {inherit inputs;} { + outputs = inputs: let + inherit (inputs.getchoo) flakeModules; + inherit (inputs.flake-parts.lib) mkFlake; + in + mkFlake {inherit inputs;} { imports = [ ./flake ./hosts ./users + flakeModules.default ]; }; } diff --git a/users/default.nix b/users/default.nix index 5dacc5f..47ff5a0 100644 --- a/users/default.nix +++ b/users/default.nix @@ -18,7 +18,7 @@ }; in { perSystem = {system, ...}: { - legacyPackages.homeConfigurations = { + homeConfigurations = { seth = mkHMUser { name = "seth"; pkgs = import inputs.nixpkgsUnstable { |
