mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
20 lines
444 B
Nix
20 lines
444 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [<stockholm/krebs/3modules/fetchWallpaper.nix>];
|
|
|
|
krebs.fetchWallpaper = {
|
|
enable = true;
|
|
url = "http://prism.r/realwallpaper-krebs-stars-berlin.png";
|
|
};
|
|
|
|
users.users.fetchWallpaper.isSystemUser = true;
|
|
|
|
services.xserver = {
|
|
display = lib.mkForce 0; # needed for fetchWallpaper to find the X display
|
|
displayManager.sessionCommands = "${pkgs.xorg.xhost}/bin/xhost +LOCAL:";
|
|
};
|
|
}
|