about summary refs log tree commit diff stats
path: root/modules/home.legacy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/default.nix')
-rw-r--r--modules/home.legacy/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/home.legacy/default.nix b/modules/home.legacy/default.nix
index 91f65534..fed2ecf6 100644
--- a/modules/home.legacy/default.nix
+++ b/modules/home.legacy/default.nix
@@ -11,10 +11,10 @@
   nixVim,
   nix-index-database,
   arkenfox-nixos,
+  config,
   ...
 }: let
-  username = "soispha";
-  homeDirectory = "/home/${username}";
+  inherit (config.home) homeDirectory;
 
   # xdg
   configHome = "${homeDirectory}/.config";
@@ -37,11 +37,6 @@ in {
   # I don't know what this does, but I've seen it a lot online, so it should be good, right?
   programs.home-manager.enable = true;
 
-  home = {
-    inherit username homeDirectory;
-    stateVersion = "23.05";
-    enableNixpkgsReleaseCheck = true;
-  };
   xdg = {
     enable = true;
     inherit configHome dataHome stateHome cacheHome; #binHome; # TODO: add binHome, when the standard is extended