feat: configure desktop monitors

nixos
Moritz Böhme 2024-08-18 13:20:03 +02:00
parent 5c666feefb
commit f19d50407e
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 2 additions and 3 deletions

View File

@ -24,6 +24,7 @@
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.hyprland.nvidiaSupport = true; programs.hyprland.nvidiaSupport = true;
programs.hyprland.keyboardLayouts = [ "us" "de" ]; programs.hyprland.keyboardLayouts = [ "us" "de" ];
programs.hyprland.monitors."HDMI-A-2" = { scale = 1.2; };
programs.exercism.enable = true; programs.exercism.enable = true;
services.wallpaper.enable = true; services.wallpaper.enable = true;
}; };

View File

@ -60,9 +60,6 @@ in
sub sub
); );
description = "monitor setting"; description = "monitor setting";
default = {
"" = { };
};
}; };
extraConfig = mkOption { extraConfig = mkOption {
type = types.str; type = types.str;
@ -81,6 +78,7 @@ in
kitty.enable = true; kitty.enable = true;
rofi.enable = true; rofi.enable = true;
hyprland.monitors."" = lib.mkDefault { }; hyprland.monitors."" = lib.mkDefault { };
hyprland.monitors."Unknown-1" = { disabled = true; };
}; };
wallpapers.enable = true; wallpapers.enable = true;
services = { services = {