Skip to content

Commit

Permalink
fix: tweak monitors and set untis-ics-sync target after network-online
Browse files Browse the repository at this point in the history
  • Loading branch information
bddvlpr committed Dec 12, 2023
1 parent e01a82a commit 5e1b31b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion containers/untis-ics-sync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
systemd.services.untis-ics-sync = {
description = "Untis ICal Service";
wantedBy = ["multi-user.target"];
after = ["networking.target"];
after = ["network-online.target"];

environment = {
UNTIS_SCHOOLNAME = "ap-hogeschool-antwerpen";
Expand Down
4 changes: 3 additions & 1 deletion homes/common/desktop/hyprland/monitors.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ in
lib.concatStringsSep "\n" (lib.forEach enabledMonitors (m: ''
monitor=${m.name},${toString m.width}x${toString m.height}@${toString m.refreshRate},${toString m.x}x${toString m.y},${toString m.scale}
${lib.optionalString (m.workspace != null) "workspace=${m.name},${m.workspace}"}
''))
'')) + ''
monitor=,highres,auto,1
''
9 changes: 1 addition & 8 deletions hosts/clients/solaris/home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@
name = "eDP-1";
width = 1920;
height = 1080;
x = 2560;
}
{
name = "HDMI-A-1";
width = 2560;
height = 1440;
refreshRate = 60;
x = 0;
}
];
];
}

0 comments on commit 5e1b31b

Please sign in to comment.