mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
package cleanup
This commit is contained in:
parent
aa2c1e702c
commit
ccfcd6db3a
5 changed files with 29 additions and 15 deletions
|
@ -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}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue