mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
17 lines
440 B
Nix
17 lines
440 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:";
|
|
};
|
|
}
|