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:
parent
f5622acaf7
commit
13f2f79e6d
3 changed files with 21 additions and 0 deletions
|
@ -27,5 +27,6 @@
|
|||
alertmanager-discord = pkgs.callPackage ./alertmanager-discord.nix {};
|
||||
prometheus-snmp-config = import ./prometheus-snmp-config args;
|
||||
flameshot = pkgs.libsForQt5.callPackage ./flameshot {};
|
||||
lukegb-wallpapers = pkgs.callPackage ./lukegb-wallpapers {};
|
||||
} // (import ./heptapod-runner.nix args)
|
||||
// (import ./lightspeed args)
|
||||
|
|
14
nix/pkgs/lukegb-wallpapers/default.nix
Normal file
14
nix/pkgs/lukegb-wallpapers/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -48,6 +48,12 @@
|
|||
systemctl --user restart ssh-agent
|
||||
'';
|
||||
|
||||
services.random-background = {
|
||||
enable = true;
|
||||
imageDirectory = "${depot.nix.pkgs.lukegb-wallpapers}";
|
||||
interval = null;
|
||||
};
|
||||
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
config = {
|
||||
|
|
Loading…
Reference in a new issue