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 just
mmv-go mmv-go
zoxide zoxide
swaybg
xwayland-satellite xwayland-satellite
nerd-fonts.victor-mono nerd-fonts.victor-mono
adwaita-fonts adwaita-fonts

View file

@ -129,6 +129,7 @@
fish fish
firefox # TODO use zen browser instead firefox # TODO use zen browser instead
pavucontrol pavucontrol
swaybg
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -183,6 +184,21 @@
# Tailscale # Tailscale
services.tailscale.enable = true; 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 & session variables
environment.variables.EDITOR = "nvim"; environment.variables.EDITOR = "nvim";
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";

View file

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