feat: initial switch from hm to hjem

This commit is contained in:
uku 2025-05-06 12:28:08 +02:00
parent 5c21588430
commit 7b77f05476
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
15 changed files with 131 additions and 154 deletions

View file

@ -7,20 +7,18 @@
services.xserver.videoDrivers = [ "amdgpu" ];
hm = {
home.packages = with pkgs; [
wineWowPackages.waylandFull
];
environment.systemPackages = with pkgs; [
wineWowPackages.waylandFull
];
wayland.windowManager.hyprland.settings = {
monitor = "DP-1,3840x2160@144,0x0,1.5";
xwayland.force_zero_scaling = true;
env = [
"GDK_SCALE,1.5"
"XCURSOR_SIZE,24"
];
};
};
# hm = {
# wayland.windowManager.hyprland.settings = {
# monitor = "DP-1,3840x2160@144,0x0,1.5";
# xwayland.force_zero_scaling = true;
# env = [
# "GDK_SCALE,1.5"
# "XCURSOR_SIZE,24"
# ];
# };
# };
}

View file

@ -37,10 +37,10 @@
};
};
hm.wayland.windowManager.hyprland.settings.env = [
"XDG_SESSION_TYPE,wayland"
"GBM_BACKEND,nvidia-drm"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
"NVD_BACKEND,direct"
];
# hm.wayland.windowManager.hyprland.settings.env = [
# "XDG_SESSION_TYPE,wayland"
# "GBM_BACKEND,nvidia-drm"
# "__GLX_VENDOR_LIBRARY_NAME,nvidia"
# "NVD_BACKEND,direct"
# ];
}

View file

@ -29,9 +29,14 @@ in
i18n.defaultLocale = lib.mkForce "fr_FR.UTF-8";
hm.programs = {
git.includes = [ { path = "~/.config/git/work_config"; } ];
ssh.includes = [ "work_config" ];
hjem.users.leo.files = {
".gitconfig".text = lib.generators.toGitINI {
include.path = "~/.config/git/work_config";
};
".ssh/config".text = lib.mkBefore ''
Include work_config
'';
};
networking.firewall.allowedTCPPorts = [ 8000 ];