graphical-client: add wallpapers

If I find more I like, I'll add them here, I guess. For the moment, there's
just the one.
This commit is contained in:
Luke Granger-Brown 2021-04-06 09:53:56 +01:00
parent f5622acaf7
commit 13f2f79e6d
3 changed files with 21 additions and 0 deletions

View file

@ -27,5 +27,6 @@
alertmanager-discord = pkgs.callPackage ./alertmanager-discord.nix {}; alertmanager-discord = pkgs.callPackage ./alertmanager-discord.nix {};
prometheus-snmp-config = import ./prometheus-snmp-config args; prometheus-snmp-config = import ./prometheus-snmp-config args;
flameshot = pkgs.libsForQt5.callPackage ./flameshot {}; flameshot = pkgs.libsForQt5.callPackage ./flameshot {};
lukegb-wallpapers = pkgs.callPackage ./lukegb-wallpapers {};
} // (import ./heptapod-runner.nix args) } // (import ./heptapod-runner.nix args)
// (import ./lightspeed args) // (import ./lightspeed args)

View file

@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ lib, linkFarm, fetchurl }:
linkFarm "lukegb-wallpapers" [
{
name = "lunik1-gruvbox-dark-rainbow.png";
path = fetchurl {
url = "https://github.com/lunik1/nixos-logo-gruvbox-wallpaper/raw/fce9108e2938eb03d8c7a779bbdafd4663d3bea4/png/gruvbox-dark-rainbow.png";
sha256 = "sha256:036gqhbf6s5ddgvfbgn6iqbzgizssyf7820m5815b2gd748jw8zc";
};
}
]

View file

@ -48,6 +48,12 @@
systemctl --user restart ssh-agent systemctl --user restart ssh-agent
''; '';
services.random-background = {
enable = true;
imageDirectory = "${depot.nix.pkgs.lukegb-wallpapers}";
interval = null;
};
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
config = { config = {