aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/fo/foot/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/fo/foot/module.nix')
-rw-r--r--modules/by-name/fo/foot/module.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/by-name/fo/foot/module.nix b/modules/by-name/fo/foot/module.nix
index 29d886d6..00c198fa 100644
--- a/modules/by-name/fo/foot/module.nix
+++ b/modules/by-name/fo/foot/module.nix
@@ -11,6 +11,7 @@
config,
lib,
libraries,
+ pkgs,
...
}: let
cfg = config.soispha.foot;
@@ -20,6 +21,11 @@ in {
};
config = lib.mkIf cfg.enable {
+ # TODO: Maybe we can use the xdg-autostart mechanism for this? <2026-06-23>
+ soispha.programs.river.init.autoStart = [
+ ["${lib.getExe' pkgs.foot "footclient"}"]
+ ];
+
home-manager.users.soispha = {
programs.foot = {
enable = true;
@@ -52,10 +58,6 @@ in {
};
};
};
-
- soispha.river.autostart = [
- "${lib.getExe' config.home-manager.users.soispha.programs.foot.package "footclient"}"
- ];
};
};
}