summaryrefslogtreecommitdiff
path: root/users/default.nix
diff options
context:
space:
mode:
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];
};
};