From 26d4f1fd417f0757ce9b6a056cda906b67d33be8 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 18 Jul 2024 14:50:35 +0200 Subject: [PATCH] nix: don't prevent cage restarts on config changes On NixOS, we normally want to prevent GUI processes from being restarted during a configuration switch, but not for this display setup. --- nix/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/configuration.nix b/nix/configuration.nix index 8b5e28e..62825da 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -90,6 +90,7 @@ "-d" # don't draw client decorations when possible ]; }; + systemd.services."cage-tty1".restartIfChanged = lib.mkForce true; environment.systemPackages = [ pkgs.htop