about summary refs log tree commit diff stats
path: root/modules/home.legacy
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-01 13:02:26 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-01 13:02:26 +0200
commit11920f9ede8aa8497a6c344f83bb6afb16c28149 (patch)
treebd34e63d09acf36ed724d5d693fe13a3eb7448fb /modules/home.legacy
parentmodules/legacy/ssh: Migrate to by-name (diff)
downloadnixos-config-11920f9ede8aa8497a6c344f83bb6afb16c28149.zip
modules/users: Add hm config and root user
Diffstat (limited to 'modules/home.legacy')
-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