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

@ -19,7 +19,6 @@
just
mmv-go
zoxide
swaybg
xwayland-satellite
nerd-fonts.victor-mono
adwaita-fonts

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";

View file

@ -183,8 +183,8 @@ layout {
}
// STARTUP
// spawn-at-startup "waybar"
spawn-sh-at-startup "swaybg -o * -i ~/Pictures/Wallpapers/cyberpunk.jpg -m fill"
// spawn-at-startup ""
// spawn-sh-at-startup ""
hotkey-overlay {
// Uncomment this line to disable the "Important Hotkeys" pop-up at startup.