From c164b0ece84e4e8fdcabed4035556886a097573b Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 22 Aug 2024 13:20:21 -0700 Subject: [PATCH] refactor: move machine specific monitor config --- hosts/demeter/default.nix | 1 + hosts/demeter/home-manager-extras/default.nix | 3 +++ hosts/demeter/home-manager/default.nix | 0 users/youwen/linux/hyprland/common.nix | 1 - 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 hosts/demeter/home-manager-extras/default.nix delete mode 100644 hosts/demeter/home-manager/default.nix diff --git a/hosts/demeter/default.nix b/hosts/demeter/default.nix index dddff51..43112ad 100644 --- a/hosts/demeter/default.nix +++ b/hosts/demeter/default.nix @@ -33,6 +33,7 @@ ../../users/youwen/common/neofetch ../../users/youwen/common/neovim ../../users/youwen/common + ./home-manager-extras catppuccin.homeManagerModules.catppuccin nixvim.homeManagerModules.nixvim ]; diff --git a/hosts/demeter/home-manager-extras/default.nix b/hosts/demeter/home-manager-extras/default.nix new file mode 100644 index 0000000..1ce1186 --- /dev/null +++ b/hosts/demeter/home-manager-extras/default.nix @@ -0,0 +1,3 @@ +{ + wayland.windowManager.hyprland.settings.monitor = ["DP-1,2560x1440@165,1920x0,auto" "HDMI-A-1,1920x1080@60,0x0,1"]; +} diff --git a/hosts/demeter/home-manager/default.nix b/hosts/demeter/home-manager/default.nix deleted file mode 100644 index e69de29..0000000 diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index 119bdb2..3695231 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -187,7 +187,6 @@ "ignorezero,swaync-control-center" "blur,logout_dialog" ]; - monitor = ["DP-1,2560x1440@165,1920x0,auto" "HDMI-A-1,1920x1080@60,0x0,1"]; dwindle = { pseudotile = "yes"; preserve_split = "yes";