diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-23 00:06:09 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-23 00:06:09 +0200 |
| commit | fb1fdc95e35233278580724b26395ae7307caa65 (patch) | |
| tree | 78a06464e4f8f1e60b7ea945f92df8537f6fda81 /modules/by-name/fo/foot/module.nix | |
| parent | modules/common: Enable steam again (diff) | |
| download | nixos-config-fb1fdc95e35233278580724b26395ae7307caa65.zip | |
modules/{river,foot,i3bar-river}: Use systemd services for background stuff
Diffstat (limited to 'modules/by-name/fo/foot/module.nix')
| -rw-r--r-- | modules/by-name/fo/foot/module.nix | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/modules/by-name/fo/foot/module.nix b/modules/by-name/fo/foot/module.nix index d818aac0..2c56fa07 100644 --- a/modules/by-name/fo/foot/module.nix +++ b/modules/by-name/fo/foot/module.nix @@ -55,28 +55,9 @@ in { }; }; - systemd.user.services = let - footCfg = config.home-manager.users.soispha.programs.foot; - inherit (footCfg.server) systemdTarget; - in { - foot-initial-term = { - Unit = { - Description = "Fast, lightweight and minimalistic Wayland terminal emulator."; - Documentation = "man:foot(1)"; - PartOf = [systemdTarget]; - After = [systemdTarget]; - ConditionEnvironment = "WAYLAND_DISPLAY"; - }; - - Service = { - ExecStart = "${lib.getExe' footCfg.package "footclient"}"; - }; - - Install = { - WantedBy = [systemdTarget]; - }; - }; - }; + soispha.river.autostart = [ + "${lib.getExe' config.home-manager.users.soispha.programs.foot.package "footclient"}" + ]; }; }; } |
