From 32318ee3a6202d0e33820cbd133755cbae79d816 Mon Sep 17 00:00:00 2001 From: aw Date: Sun, 14 Jun 2026 19:37:14 -0400 Subject: [PATCH 1/3] feat: per-host Hyprland monitor config via home-manager - Split hyprland.conf into common (keybinds, looks, animations) and per-host (monitors, env, workspaces) configs - Add uconsole.conf for CM5 DSI display (720x1280) - Add laptop.conf for NVIDIA + external monitors - home.nix links the correct host config based on hostname - Remove NVIDIA env vars from common config --- result | 1 + result-uconsole | 1 + users/gortium/home.nix | 25 +++++++++++++++---------- 3 files changed, 17 insertions(+), 10 deletions(-) create mode 120000 result create mode 120000 result-uconsole diff --git a/result b/result new file mode 120000 index 0000000..c445871 --- /dev/null +++ b/result @@ -0,0 +1 @@ +/nix/store/z86r4awsbrc5q9qhwwi757wxixcqgn31-nixos-system-uConsole-25.11.20260608.e820eb4 \ No newline at end of file diff --git a/result-uconsole b/result-uconsole new file mode 120000 index 0000000..e5d8532 --- /dev/null +++ b/result-uconsole @@ -0,0 +1 @@ +/nix/store/7y7rfksqcf5smz59jjixyl56bxq50j9g-nixos-system-uConsole-25.11.20260608.e820eb4 \ No newline at end of file diff --git a/users/gortium/home.nix b/users/gortium/home.nix index affc2e7..5b3383c 100644 --- a/users/gortium/home.nix +++ b/users/gortium/home.nix @@ -2,6 +2,7 @@ let dotfiles = ./assets/dotfiles; + isUconsole = config.networking.hostName == "uConsole"; in { home.username = "gortium"; home.homeDirectory = "/home/gortium"; @@ -38,24 +39,28 @@ in { # yazi ".config/yazi/yazi.toml".source = "${dotfiles}/yazi/.config/yazi/yazi.toml"; - # hyprland + # hyprland — common config ".config/hypr/hyprland.conf".source = "${dotfiles}/hypr/.config/hypr/hyprland.conf"; + ".config/hypr/hypridle.conf".source = "${dotfiles}/hypr/.config/hypr/hypridle.conf"; + ".config/hypr/hyprlock.conf".source = "${dotfiles}/hypr/.config/hypr/hyprlock.conf"; + ".config/hypr/hyprpaper.conf".source = "${dotfiles}/hypr/.config/hypr/hyprpaper.conf"; + ".config/hypr/mocha.conf".source = "${dotfiles}/hypr/.config/hypr/mocha.conf"; - # doom emacs - ".config/doom/config.el".source = "${dotfiles}/doom/.config/doom/config.el"; - ".config/doom/init.el".source = "${dotfiles}/doom/.config/doom/init.el"; - ".config/doom/packages.el".source = "${dotfiles}/doom/.config/doom/packages.el"; + # hyprland — host-specific monitor config + ".config/hypr/host/monitors.conf".source = + if isUconsole + then "${dotfiles}/hypr/.config/hypr/host/uconsole.conf" + else "${dotfiles}/hypr/.config/hypr/host/laptop.conf"; }; home.packages = with pkgs; [ - # core git zsh tmux starship - # editors neovim kitty - # tools btop yazi ripgrep fd fzf - # wayland - waybar wofi + ] ++ lib.optionals (!isUconsole) [ + waybar wofi swww hyprshot + ] ++ lib.optionals isUconsole [ + brightnessctl ]; programs.zsh.enable = true; From d94226e5ebd52f5c46f0357a9fbedd2381513e0d Mon Sep 17 00:00:00 2001 From: aw Date: Sun, 14 Jun 2026 19:37:35 -0400 Subject: [PATCH 2/3] update dotfiles submodule: per-host hyprland config --- assets/dotfiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/dotfiles b/assets/dotfiles index 8e9204b..75df6d5 160000 --- a/assets/dotfiles +++ b/assets/dotfiles @@ -1 +1 @@ -Subproject commit 8e9204bc21c488f3c7a1e60f238bce8c2e4abb06 +Subproject commit 75df6d502a0786e62255eff1c48041c3f21e6a5a From 96c993292dc090f6db1adedc05a024c2dd34c739 Mon Sep 17 00:00:00 2001 From: aw Date: Sun, 14 Jun 2026 19:41:58 -0400 Subject: [PATCH 3/3] rename host/ -> hosts/ in dotfiles submodule --- assets/dotfiles | 2 +- users/gortium/home.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/dotfiles b/assets/dotfiles index 75df6d5..f453874 160000 --- a/assets/dotfiles +++ b/assets/dotfiles @@ -1 +1 @@ -Subproject commit 75df6d502a0786e62255eff1c48041c3f21e6a5a +Subproject commit f45387456b4d1f594e2d623366248ece64f50b25 diff --git a/users/gortium/home.nix b/users/gortium/home.nix index 5b3383c..ce7902f 100644 --- a/users/gortium/home.nix +++ b/users/gortium/home.nix @@ -49,8 +49,8 @@ in { # hyprland — host-specific monitor config ".config/hypr/host/monitors.conf".source = if isUconsole - then "${dotfiles}/hypr/.config/hypr/host/uconsole.conf" - else "${dotfiles}/hypr/.config/hypr/host/laptop.conf"; + then "${dotfiles}/hypr/.config/hypr/hosts/uconsole.conf" + else "${dotfiles}/hypr/.config/hypr/hosts/laptop.conf"; }; home.packages = with pkgs; [