summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-08 00:22:18 -0400
committerseth <[email protected]>2023-05-08 00:22:18 -0400
commit56303d957b2e7527b8e7224ea5642cbeb3c89a88 (patch)
tree85767844443927ea7c4db6eb105078e4bcafaea9
parent9cedd06b8589a5d39a7a85e2efe646a8edebac53 (diff)
flake: use my homeConfigurations flake-parts module
-rw-r--r--flake.lock6
-rw-r--r--flake.nix8
-rw-r--r--users/default.nix2
3 files changed, 10 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index b219c2b..aeb6529 100644
--- a/flake.lock
+++ b/flake.lock
@@ -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": {
diff --git a/flake.nix b/flake.nix
index aec454c..2c0b789 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 {