many changes this one forgot

This commit is contained in:
Lucy Hochkamp 2025-04-04 18:42:10 +02:00
parent 67c2117563
commit 44307a3f6f
No known key found for this signature in database
22 changed files with 1081 additions and 437 deletions

39
modules/desktop/foot.nix Normal file
View file

@ -0,0 +1,39 @@
{
pkgs,
config,
lib,
...
}:
let
cfg = config.xyno.desktop.foot;
in
{
options.xyno.desktop.foot.enable = lib.mkEnableOption "enable foot terminal emulator";
options.xyno.desktop.foot.wantedBy = lib.mkOption {
type = lib.types.str;
default = "niri.service";
};
options.xyno.desktop.foot.package= lib.mkOption {
type = lib.types.package;
default = pkgs.foot;
};
config = lib.mkIf cfg.enable {
# should be socket activated tm
# systemd.user.services.foot.wantedBy = lib.mkForce [ cfg.wantedBy ];
# systemd.user.sockets.foot.wantedBy = lib.mkForce [ cfg.wantedBy ];
systemd.packages = [ cfg.package ];
programs.foot = {
enable = true;
package = cfg.package;
theme = "gruvbox-dark";
settings = {
main = {
font = "JetBrainsMono Nerd Font:size=11";
};
scrollback = {
lines = 100000;
};
};
};
};
}