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

@ -18,7 +18,6 @@
home.username = "rouven"; home.username = "rouven";
home.homeDirectory = "/home/rouven"; home.homeDirectory = "/home/rouven";
home.stateVersion = config.system.stateVersion; home.stateVersion = config.system.stateVersion;
home.enableNixpkgsReleaseCheck = false;
}; };
}; };
} }

View file

@ -3,14 +3,37 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
libsixel 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 = { programs.foot = {
enable = true; enable = true;
server.enable = true; server.enable = true;
settings = rec { settings = rec {
main = { main = {
shell = "${pkgs.zsh}/bin/zsh"; shell = "${pkgs.zsh}/bin/zsh";
dpi-aware = "yes"; # dpi-aware = "yes";
font = "monospace:family=Iosevka Nerd Font, size=8"; font = "monospace:family=Iosevka Nerd Font:size=12";
notify = "${lib.getExe pkgs.libnotify} -a \${app-id} -i \${app-id} \${title} \${body}"; notify = "${lib.getExe pkgs.libnotify} -a \${app-id} -i \${app-id} \${title} \${body}";
}; };
cursor.color = "${colors.background} ${colors.foreground}"; cursor.color = "${colors.background} ${colors.foreground}";

View file

@ -25,14 +25,12 @@ in
cups cups
# graphics # graphics
evince # pdf viewer zathura
gimp gimp
krita krita
ffmpeg ffmpeg
drawio drawio
leafpad leafpad
gamescope
gnome.simple-scan
imv imv
# sound # sound
@ -52,12 +50,10 @@ in
discord discord
tdesktop tdesktop
element-desktop element-desktop
gomuks # alternative matrix client
mattermost-desktop mattermost-desktop
gajim gajim
# games # games
# dwarf-fortress-packages.dwarf-fortress-full
prismlauncher # minecraft, but it actually works # not anymore lol prismlauncher # minecraft, but it actually works # not anymore lol
superTuxKart superTuxKart
@ -66,18 +62,13 @@ in
yubikey-manager-qt yubikey-manager-qt
yubioath-flutter yubioath-flutter
bitwarden bitwarden
pass
# misc # misc
btop
neofetch # obligatory neofetch # obligatory
virt-manager virt-manager
jetbrains.idea-ultimate #😎 jetbrains.idea-ultimate #😎
powerline-fonts powerline-fonts
croc # send files anywhere croc # send files anywhere
bacula
hcloud
jq
xournalpp xournalpp
libreoffice libreoffice
mosh mosh
@ -116,7 +107,7 @@ in
browsers = [ "google-chrome.desktop" "firefox.desktop" "org.qutebrowser.qutebrowser.desktop" ]; browsers = [ "google-chrome.desktop" "firefox.desktop" "org.qutebrowser.qutebrowser.desktop" ];
in in
{ {
"application/pdf" = [ "org.gnome.Evince.desktop" ]; "application/pdf" = [ "org.pwmt.zathura.desktop" ];
"image/png" = image-viewers; "image/png" = image-viewers;
"image/jpg" = image-viewers; "image/jpg" = image-viewers;
"image/jpeg" = image-viewers; "image/jpeg" = image-viewers;

View file

@ -24,7 +24,6 @@ in
"rfive.de" = { "rfive.de" = {
hostname = "falkenstein.vpn.rfive.de"; hostname = "falkenstein.vpn.rfive.de";
user = "root"; user = "root";
port = 2222;
extraOptions = { extraOptions = {
VerifyHostKeyDNS = "ask"; VerifyHostKeyDNS = "ask";
}; };

View file

@ -14,6 +14,8 @@
swaynotificationcenter swaynotificationcenter
playerctl playerctl
wdisplays wdisplays
wl-mirror
jq
(libinput.override { eventGUISupport = true; }) (libinput.override { eventGUISupport = true; })
]; ];