feat: initial switch from hm to hjem
This commit is contained in:
parent
5c21588430
commit
7b77f05476
15 changed files with 131 additions and 154 deletions
|
@ -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"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
# ];
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue