fix: update home.nix host/ paths after dotfiles rename

This commit is contained in:
2026-06-20 17:50:13 -04:00
parent 6c34b92186
commit 905998466c
2 changed files with 82 additions and 2 deletions

View File

@@ -0,0 +1,80 @@
# Hyprland config — Ctrl+Alt = Super (no hardware Super key on uConsole)
environment.etc."hypr/hyprland.conf".text = ''
$mainMod = CTRL ALT
input {
kb_layout = ca:eng
kb_options = ctrl:nocaps
numlock_by_default = true
follow_mouse = 1
}
general {
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(a3be8cff)
col.inactive_border = rgba(434c5eff)
layout = dwindle
}
decoration {
rounding = 4
active_opacity = 1.0
inactive_opacity = 0.85
blur { enabled = false }
}
animations { enabled = false }
bind = $mainMod, Return, exec, foot
bind = $mainMod, Q, killactive
bind = $mainMod, F, fullscreen
bind = $mainMod, Space, togglefloating
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, L, movewindow, r
bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, J, movewindow, d
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod, grave, togglespecialworkspace
bind = $mainMod SHIFT, grave, movetoworkspace, special
exec-once = foot --server
'';
}

View File

@@ -46,8 +46,8 @@ in {
# hyprland — host-specific monitor config # hyprland — host-specific monitor config
".config/hypr/host/monitors.conf".source = ".config/hypr/host/monitors.conf".source =
if isUconsole if isUconsole
then "${dotfiles}/hypr/.config/hypr/hosts/uconsole.conf" then "${dotfiles}/hypr/.config/hypr/host/uconsole.conf"
else "${dotfiles}/hypr/.config/hypr/hosts/laptop.conf"; else "${dotfiles}/hypr/.config/hypr/host/laptop.conf";
}; };
programs.bash.enable = true; programs.bash.enable = true;