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