diff --git a/hosts/12kingdoms-shoukei/home.nix b/hosts/12kingdoms-shoukei/home.nix index 78cb4ced..6c0d604f 100644 --- a/hosts/12kingdoms-shoukei/home.nix +++ b/hosts/12kingdoms-shoukei/home.nix @@ -1,17 +1,15 @@ -{config, ...}: let +{ config, ... }: +let hostName = "shoukei"; # Define your hostname. -in { +in +{ modules.desktop.hyprland = { nvidia = false; - settings = { - # Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. - # highres: get the best possible resolution - # auto: position automatically - # 1.5: scale to 1.5 times - # bitdepth,10: enable 10 bit support - monitor = "eDP-1,highres,auto,1.5,bitdepth,10"; - }; + settings.source = [ + "${config.home.homeDirectory}/nix-config/hosts/12kingdoms-shoukei/hypr-hardware.conf" + ]; }; - programs.ssh.matchBlocks."github.com".identityFile = "${config.home.homeDirectory}/.ssh/${hostName}"; + programs.ssh.matchBlocks."github.com".identityFile = + "${config.home.homeDirectory}/.ssh/${hostName}"; } diff --git a/hosts/12kingdoms-shoukei/hypr-hardware.conf b/hosts/12kingdoms-shoukei/hypr-hardware.conf new file mode 100644 index 00000000..6b92a70e --- /dev/null +++ b/hosts/12kingdoms-shoukei/hypr-hardware.conf @@ -0,0 +1,9 @@ +# https://wiki.hyprland.org/Configuring/Monitors/ +# +# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. +# highres: get the best possible resolution +# auto: position automatically +# 1.25: scale to 1.25 times +# bitdepth,10: enable 10 bit support +monitor=eDP-1, highres@highrr, 0x0, 1.25, bitdepth,10 +