From 11920f9ede8aa8497a6c344f83bb6afb16c28149 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 1 May 2025 13:02:26 +0200 Subject: modules/users: Add hm config and root user --- modules/home.legacy/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'modules/home.legacy/default.nix') 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 -- cgit 1.4.1