wip: dnsc-machine setup
This commit is contained in:
parent
c895cc51dd
commit
83292b55a2
3 changed files with 18 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue