wip: dnsc-machine setup

This commit is contained in:
Dennis Schoepf 2025-11-22 15:42:47 +01:00
parent c895cc51dd
commit 83292b55a2
3 changed files with 18 additions and 3 deletions

View file

@ -129,6 +129,7 @@
fish
firefox # TODO use zen browser instead
pavucontrol
swaybg
];
# Some programs need SUID wrappers, can be configured further or are
@ -183,6 +184,21 @@
# Tailscale
services.tailscale.enable = true;
# Custom systemd services
systemd.user.services.wallpaper = {
enable = true;
description = "Sets the wallpaper with swaybg";
unitConfig = {
PartOf = "graphical-session.target";
After = "graphical-session.target";
Requisite = "graphical-session.target";
};
serviceConfig = {
ExecStart = "${pkgs.swaybg} -o * -i %h/Pictures/Wallpapers/cyberpunk.jpg -m fill";
Restart = "on-failure";
};
};
# Environment & session variables
environment.variables.EDITOR = "nvim";
environment.sessionVariables.NIXOS_OZONE_WL = "1";