1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/wallpaper.nix

20 lines
444 B
Nix
Raw Normal View History

2021-06-01 19:05:53 +02:00
{
2022-03-10 21:52:12 +01:00
pkgs,
lib,
...
}: {
imports = [<stockholm/krebs/3modules/fetchWallpaper.nix>];
2020-12-15 16:09:18 +01:00
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
}