diff options
Diffstat (limited to 'modules/home.legacy/default.nix')
| -rw-r--r-- | modules/home.legacy/default.nix | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/modules/home.legacy/default.nix b/modules/home.legacy/default.nix index 91f65534..8fb209f3 100644 --- a/modules/home.legacy/default.nix +++ b/modules/home.legacy/default.nix @@ -7,14 +7,8 @@ # # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. -{ - nixVim, - nix-index-database, - arkenfox-nixos, - ... -}: let - username = "soispha"; - homeDirectory = "/home/${username}"; +{config, ...}: let + inherit (config.home) homeDirectory; # xdg configHome = "${homeDirectory}/.config"; @@ -28,20 +22,11 @@ in { ./conf ./files ./pkgs - - nixVim.homeManagerModules.nixvim - nix-index-database.hmModules.nix-index - arkenfox-nixos.hmModules.arkenfox ]; # 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 @@ -55,7 +40,7 @@ in { enable = true; createDirectories = true; desktop = null; - documents = "${homeDirectory}/school/general"; + documents = "${homeDirectory}/documents/general"; download = "/tmp/download"; music = "${homeDirectory}/media/music"; pictures = "${homeDirectory}/media/pictures"; |
