From 905998466c71d8284cbade6fa6c9d15fc77efbc6 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 20 Jun 2026 17:50:13 -0400 Subject: [PATCH] fix: update home.nix host/ paths after dotfiles rename --- hosts/uconsole-cm5/configuration.nix.tmp | 80 ++++++++++++++++++++++++ users/gortium/home.nix | 4 +- 2 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 hosts/uconsole-cm5/configuration.nix.tmp diff --git a/hosts/uconsole-cm5/configuration.nix.tmp b/hosts/uconsole-cm5/configuration.nix.tmp new file mode 100644 index 0000000..0c4fa82 --- /dev/null +++ b/hosts/uconsole-cm5/configuration.nix.tmp @@ -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 + ''; +} diff --git a/users/gortium/home.nix b/users/gortium/home.nix index f0a04f8..66769d4 100644 --- a/users/gortium/home.nix +++ b/users/gortium/home.nix @@ -46,8 +46,8 @@ in { # hyprland — host-specific monitor config ".config/hypr/host/monitors.conf".source = if isUconsole - then "${dotfiles}/hypr/.config/hypr/hosts/uconsole.conf" - else "${dotfiles}/hypr/.config/hypr/hosts/laptop.conf"; + then "${dotfiles}/hypr/.config/hypr/host/uconsole.conf" + else "${dotfiles}/hypr/.config/hypr/host/laptop.conf"; }; programs.bash.enable = true;