401 current 2024-04-17 21:51:14 24.05.20240417.203fac8 6.8.6-zen1 nvidiaProduction nvidiaStable nvidiaVulkanBeta
This commit is contained in:
parent
7772d99eea
commit
53aea26dae
1 changed files with 21 additions and 0 deletions
|
|
@ -1,4 +1,15 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
theme,
|
||||
...
|
||||
}: let
|
||||
mkService = lib.recursiveUpdate {
|
||||
Unit.PartOf = ["graphical-session.target"];
|
||||
Unit.After = ["graphical-session.target"];
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
in {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
# package = pkgs.swayfx;
|
||||
|
|
@ -29,4 +40,14 @@
|
|||
};
|
||||
extraOptions = ["--unsupported-gpu"];
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
swaybg = mkService {
|
||||
Unit.Description = "Wallpaper chooser";
|
||||
Service = {
|
||||
ExecStart = "${lib.getExe pkgs.swaybg} -i ${theme.wallpaper}";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue