feat: add river and foot modules

This commit is contained in:
Moritz Böhme 2024-03-21 17:19:06 +01:00
parent 298aa410eb
commit e714349fe1
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
10 changed files with 485 additions and 230 deletions

30
modules/programs/foot.nix Normal file
View file

@ -0,0 +1,30 @@
{ config
, lib
, ...
}:
with lib;
let
cfg = config.my.programs.foot;
in
{
options.my.programs.foot.enable = mkEnableOption "foot";
config = mkIf cfg.enable {
home-manager.users.moritz = {
# HACK: to make foot server work
systemd.user.services.foot.Service.Environment = "PATH=/run/current-system/sw/bin/";
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
term = "xterm-256color";
font = "FiraCode Nerd Font:size=8";
dpi-aware = true;
};
};
};
};
};
}