diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-02 23:22:13 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-02 23:22:13 +0200 |
| commit | 120f4b178abee0e85ad0f23fb38fee363c368561 (patch) | |
| tree | 9e58211265a96fb68406ec59d2d48dac4f916c68 /modules/by-name | |
| parent | modules/boot/tails-iso: Remove the log spam (diff) | |
| download | nixos-config-120f4b178abee0e85ad0f23fb38fee363c368561.zip | |
modules/foot: Don't restart the foot server
Diffstat (limited to 'modules/by-name')
| -rw-r--r-- | modules/by-name/fo/foot/module.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/by-name/fo/foot/module.nix b/modules/by-name/fo/foot/module.nix index 370c4d5a..74273b49 100644 --- a/modules/by-name/fo/foot/module.nix +++ b/modules/by-name/fo/foot/module.nix @@ -27,6 +27,15 @@ in { ]; home-manager.users.soispha = { + systemd.user.services.foot = { + # Don't restart the foot server (otherwise all my open foot terminals would exit + # too) + Unit.X-SwitchMethod = "keep-old"; + + # TODO: This should probably be added <2026-07-02> + # OOMScoreAdjust=-100; + }; + programs.foot = { enable = true; server.enable = true; |
