hypr.home fix

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-10-04 22:52:06 +02:00
parent d581209fdf
commit 21fee7056a
5 changed files with 14 additions and 16 deletions

View File

@@ -207,7 +207,7 @@ in {
"external": { "external": {
"streamlink": { "streamlink": {
"quality": "", "quality": "",
"options": "--config ${hyper.home}.config/streamlink/config" "options": "--config ${hyper.home}/.config/streamlink/config"
} }
} }
} }

View File

@@ -1,10 +1,10 @@
{ pkgs, ... }@all: with all; { { pkgs, ... }@all: with all; {
xdg = { xdg = {
enable = true; enable = true;
configHome = "${hyper.home}.config"; configHome = "${hyper.home}/.config";
cacheHome = "${hyper.home}.cache"; cacheHome = "${hyper.home}/.cache";
dataHome = "${hyper.home}.local/share"; dataHome = "${hyper.home}/.local/share";
stateHome = "${hyper.home}.local/state"; stateHome = "${hyper.home}/.local/state";
mimeApps = { mimeApps = {
enable = true; enable = true;
defaultApplications = let defaultApplications = let

View File

@@ -75,8 +75,8 @@
./home-modules/calendar-campuszeit-fix.nix ./home-modules/calendar-campuszeit-fix.nix
] else []); ] else []);
home.username = hyper.user; home.username = hyper.user;
# home.homeDirectory = hyper.home; # for some reason you cant use hyper.home here home.homeDirectory = hyper.home;
home.homeDirectory = "/home/${hyper.user}"; # home.homeDirectory = "/home/${hyper.user}";
home.stateVersion = hyper.pkgs-version; home.stateVersion = hyper.pkgs-version;
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }@all: with all; { pkgs, ... }@all: with all; {
{
imports = [ imports = [
./home-modules/bash.nix ./home-modules/bash.nix
./home-modules/color-pallete.nix ./home-modules/color-pallete.nix
@@ -28,10 +27,11 @@
./home-modules/pkgs-list/shell.nix ./home-modules/pkgs-list/shell.nix
]; ];
home.username = hyper.user; home = {
# home.homeDirectory = hyper.home; # for some reason you cant use hyper.home here username = hyper.user;
home.homeDirectory = "/home/${hyper.user}"; homeDirectory = hyper.home;
home.stateVersion = hyper.pkgs-version; stateVersion = hyper.pkgs-version;
};
xdg = { xdg = {
enable = true; enable = true;
configHome = "${hyper.home}/.config"; configHome = "${hyper.home}/.config";

View File

@@ -1,6 +1,4 @@
{ pkgs, ... }@all: with all; { pkgs, ... }@all: with all; lib.mkIf hyper.nvidia.enable {
lib.mkIf hyper.nvidia.enable
{
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lshw lshw
glxinfo glxinfo