summaryrefslogtreecommitdiff
path: root/users/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-24 04:46:59 -0400
committerseth <[email protected]>2024-05-24 21:36:05 -0600
commitef2b5ea9f2f9450eac7ac2a875a8f1c6599c1ed0 (patch)
tree5d21686d2d34986c6fcdf23fcd8f3a3c176d53bd /users/default.nix
parent5533072babca9fdefe45151ee834cdd14e1c679e (diff)
don't use flake module
Diffstat (limited to 'users/default.nix')
-rw-r--r--users/default.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/users/default.nix b/users/default.nix
index 7618f9c..38d391f 100644
--- a/users/default.nix
+++ b/users/default.nix
@@ -1,6 +1,14 @@
{
- configurations.home = {
- seth = {
+ self,
+ withSystem,
+ ...
+}: {
+ flake.homeConfigurations = let
+ inherit (self.lib) homeManagerConfiguration;
+ pkgsFor = system: withSystem system ({pkgs, ...}: pkgs);
+ in {
+ seth = homeManagerConfiguration {
+ pkgs = pkgsFor "x86_64-linux";
modules = [./seth/home.nix];
};
};