commit b5f870b30db3f4ce539305217f09882ff64c8913
parent 9b3656453b5b5f85cddd8ff907da74271594dedc
Author: Milutin Popovic <milutin@popovic.xyz>
Date: Thu, 9 Apr 2026 10:15:57 +0100
update
Diffstat:
4 files changed, 27 insertions(+), 16 deletions(-)
diff --git a/hosts/frame/configuration.nix b/hosts/frame/configuration.nix
@@ -38,13 +38,13 @@
};
};
- # virtualisation.docker = {
- # enable = true;
- # rootless = {
- # enable = true;
- # setSocketVariable = true;
- # };
- # };
+ virtualisation.docker = {
+ enable = true;
+ rootless = {
+ enable = true;
+ setSocketVariable = true;
+ };
+ };
# boot
boot = {
diff --git a/modules/dotfiles.nix b/modules/dotfiles.nix
@@ -2,6 +2,6 @@
dotfiles = builtins.fetchGit {
url = "git://popovic.xyz/dots.git";
ref = "master";
- rev = "8f61cabca2066b6816820a0027badd804aaeaab0";
+ rev = "7d5ac0291469188e5ccba679876726cc970a5da3";
};
}
diff --git a/modules/niri.nix b/modules/niri.nix
@@ -31,7 +31,7 @@
}
{
matches = [ { app-id = "Alacritty"; } ];
- opacity = 0.92;
+ opacity = 0.96;
}
{
matches = [ { app-id = "firefox"; } ];
diff --git a/modules/systemd-services.nix b/modules/systemd-services.nix
@@ -32,18 +32,29 @@
WantedBy = [ "timers.target" ];
};
};
- services.monitor-wakeup = {
+ services.niri-wakeup-monitors = {
Unit = {
- Description = "Wake up external monitors after sleep/hiberanate";
- RefuseManualStart = "no";
- RefuseManualStop = "yes";
- };
+ Description = "Wake up external monitors after resume (niri)";
+ After = [
+ "systemd-suspend.service"
+ "systemd-hibernate.service"
+ "systemd-hybrid-sleep.service"
+ "systemd-suspend-then-hibernate.service"
+ ];
+ };
+
Service = {
Type = "oneshot";
- ExecStart = "/bin/sh -c './.local/bin/scripts/niri-wakeup-monitors'";
+ ExecStart = "${pkgs.bash}/bin/bash -lc '%h/.local/bin/scripts/niri-wakeup-monitors'";
};
+
Install = {
- WantedBy = [ "default.target" ];
+ WantedBy = [
+ "suspend.target"
+ "hibernate.target"
+ "hybrid-sleep.target"
+ "suspend-then-hibernate.target"
+ ];
};
};
};