summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix35
1 files changed, 24 insertions, 11 deletions
diff --git a/flake.nix b/flake.nix
index 3b9f6be..4f5ef64 100644
--- a/flake.nix
+++ b/flake.nix
@@ -21,7 +21,7 @@
pkgs = nixpkgs.legacyPackages.${system};
userDetails = {
username = "timmy";
- home.root = /home/timmy;
+ home.root = "/home/timmy";
home.downloads = /home/timmy/dls;
email = "tjkeller.xyz";
fullname = "Tim Keller";
@@ -35,6 +35,19 @@
modules = [
./modules/hosts/${hostname}/configuration.nix
./modules/root
+ home-manager.nixosModules.home-manager {
+ home-manager = {
+ useGlobalPkgs = true;
+ useUserPackages = true;
+ users.${userDetails.username} = import ./modules/home;
+ extraSpecialArgs = {
+ inherit userDetails;
+ };
+ sharedModules = [
+ inputs.arkenfox.hmModules.arkenfox
+ ];
+ };
+ }
];
};
in {
@@ -43,15 +56,15 @@
T495 = mkNixosConfiguration "T495";
};
- homeConfigurations.${userDetails.username} = home-manager.lib.homeManagerConfiguration {
- inherit pkgs;
- extraSpecialArgs = {
- inherit userDetails;
- };
- modules = [
- ./modules/home
- inputs.arkenfox.hmModules.arkenfox
- ];
- };
+ #homeConfigurations.${userDetails.username} = home-manager.lib.homeManagerConfiguration {
+ # inherit pkgs;
+ # extraSpecialArgs = {
+ # inherit userDetails;
+ # };
+ # modules = [
+ # ./modules/home
+ # inputs.arkenfox.hmModules.arkenfox
+ # ];
+ #};
};
}