From 21fee7056a8f105ae3b6c64616977022f1312448 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Sat, 4 Oct 2025 22:52:06 +0200 Subject: [PATCH] hypr.home fix --- home-modules/chatterino.nix | 2 +- home-modules/xdg.nix | 8 ++++---- home.nix | 4 ++-- shell-only.nix | 12 ++++++------ system-modules/nvidia.nix | 4 +--- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/home-modules/chatterino.nix b/home-modules/chatterino.nix index 9a360de..c2370e4 100644 --- a/home-modules/chatterino.nix +++ b/home-modules/chatterino.nix @@ -207,7 +207,7 @@ in { "external": { "streamlink": { "quality": "", - "options": "--config ${hyper.home}.config/streamlink/config" + "options": "--config ${hyper.home}/.config/streamlink/config" } } } diff --git a/home-modules/xdg.nix b/home-modules/xdg.nix index 4542153..7286973 100644 --- a/home-modules/xdg.nix +++ b/home-modules/xdg.nix @@ -1,10 +1,10 @@ { pkgs, ... }@all: with all; { xdg = { enable = true; - configHome = "${hyper.home}.config"; - cacheHome = "${hyper.home}.cache"; - dataHome = "${hyper.home}.local/share"; - stateHome = "${hyper.home}.local/state"; + configHome = "${hyper.home}/.config"; + cacheHome = "${hyper.home}/.cache"; + dataHome = "${hyper.home}/.local/share"; + stateHome = "${hyper.home}/.local/state"; mimeApps = { enable = true; defaultApplications = let diff --git a/home.nix b/home.nix index 2dec93e..c965d32 100644 --- a/home.nix +++ b/home.nix @@ -75,8 +75,8 @@ ./home-modules/calendar-campuszeit-fix.nix ] else []); home.username = hyper.user; - # home.homeDirectory = hyper.home; # for some reason you cant use hyper.home here - home.homeDirectory = "/home/${hyper.user}"; + home.homeDirectory = hyper.home; + # home.homeDirectory = "/home/${hyper.user}"; home.stateVersion = hyper.pkgs-version; programs.home-manager.enable = true; } diff --git a/shell-only.nix b/shell-only.nix index 4f29f55..00299ae 100644 --- a/shell-only.nix +++ b/shell-only.nix @@ -1,5 +1,4 @@ -{ pkgs, ... }@all: with all; -{ +{ pkgs, ... }@all: with all; { imports = [ ./home-modules/bash.nix ./home-modules/color-pallete.nix @@ -28,10 +27,11 @@ ./home-modules/pkgs-list/shell.nix ]; - home.username = hyper.user; - # home.homeDirectory = hyper.home; # for some reason you cant use hyper.home here - home.homeDirectory = "/home/${hyper.user}"; - home.stateVersion = hyper.pkgs-version; + home = { + username = hyper.user; + homeDirectory = hyper.home; + stateVersion = hyper.pkgs-version; + }; xdg = { enable = true; configHome = "${hyper.home}/.config"; diff --git a/system-modules/nvidia.nix b/system-modules/nvidia.nix index c899f9c..b2d49af 100644 --- a/system-modules/nvidia.nix +++ b/system-modules/nvidia.nix @@ -1,6 +1,4 @@ -{ pkgs, ... }@all: with all; -lib.mkIf hyper.nvidia.enable -{ +{ pkgs, ... }@all: with all; lib.mkIf hyper.nvidia.enable { environment.systemPackages = with pkgs; [ lshw glxinfo