1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 18:41:09 +01:00
Files
niveum/configs/wallpaper.nix

17 lines
440 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2021-06-01 19:05:53 +02:00
{
2020-12-15 16:09:18 +01:00
imports = [ <stockholm/krebs/3modules/fetchWallpaper.nix> ];
krebs.fetchWallpaper = {
enable = true;
2021-06-01 19:05:53 +02:00
url = "http://prism.r/realwallpaper-krebs-stars-berlin.png";
2020-12-15 16:09:18 +01:00
};
users.users.fetchWallpaper.isSystemUser = true;
2020-12-15 16:09:18 +01:00
services.xserver = {
display = lib.mkForce 0; # needed for fetchWallpaper to find the X display
displayManager.sessionCommands = "${pkgs.xorg.xhost}/bin/xhost +LOCAL:";
2020-12-15 16:09:18 +01:00
};
2019-04-19 15:02:05 +02:00
}