1
Fork 0

Move away from wezterm

This commit is contained in:
prescientmoon 2024-08-05 20:31:34 +02:00
parent afea4bacd0
commit 3a4d400fef
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
19 changed files with 217 additions and 314 deletions
home/features/cli/productivity/smos

View file

@ -1,10 +1,16 @@
{ config, pkgs, inputs, ... }:
let workflowDir = "${config.home.homeDirectory}/productivity/smos";
{
config,
pkgs,
inputs,
...
}:
let
workflowDir = "${config.home.homeDirectory}/productivity/smos";
in
{
sops.secrets.smos_password.sopsFile = ../secrets.yaml;
# {{{ Smos config
# {{{ Smos config
programs.smos = {
inherit workflowDir;
@ -31,10 +37,8 @@ in
};
};
# }}}
# {{{ Storage & secrets
satellite.persistence.at.data.apps.smos.directories = [
config.programs.smos.workflowDir
];
# {{{ Storage & secrets
satellite.persistence.at.data.apps.smos.directories = [ config.programs.smos.workflowDir ];
sops.secrets.smos_github_token = {
sopsFile = ../secrets.yaml;
@ -48,9 +52,11 @@ in
type = "Application";
terminal = false;
icon = ../../../../../common/icons/smos.svg;
exec = builtins.toString (pkgs.writeShellScript "smostui" ''
wezterm start --class "org.wezfurlong.wezterm.smos" --cwd ${workflowDir} smos
'');
exec = builtins.toString (
pkgs.writeShellScript "smostui" ''
foot -a Smos -D ${workflowDir} smos
''
);
};
# }}}
}