package cleanup

This commit is contained in:
Rouven Seifert 2023-11-25 23:20:52 +01:00
parent aa2c1e702c
commit ccfcd6db3a
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 29 additions and 15 deletions

View file

@ -3,14 +3,37 @@
home.packages = with pkgs; [
libsixel
];
# enable socket activation
systemd.user = {
services.foot = {
Unit = {
Requires = "foot.socket";
};
};
sockets.foot = {
Socket = {
ListenStream = "%t/foot.sock";
};
Unit = {
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
ConditionEnvironment = "WAYLAND_DISPLAY";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
};
programs.foot = {
enable = true;
server.enable = true;
settings = rec {
main = {
shell = "${pkgs.zsh}/bin/zsh";
dpi-aware = "yes";
font = "monospace:family=Iosevka Nerd Font, size=8";
# dpi-aware = "yes";
font = "monospace:family=Iosevka Nerd Font:size=12";
notify = "${lib.getExe pkgs.libnotify} -a \${app-id} -i \${app-id} \${title} \${body}";
};
cursor.color = "${colors.background} ${colors.foreground}";