Add module for X background

This commit is contained in:
Daniel Thwaites 2020-12-21 14:12:04 +00:00
parent b2c01ef4f5
commit d9e9d5fcf0
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D
2 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,7 @@
./stylix/default.nix
./modules/console.nix
./modules/feh.nix
./modules/fish.nix
./modules/gtk.nix
./modules/kitty.nix

7
modules/feh.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, config, ... }:
{
# Set background image
services.xserver.displayManager.sessionCommands =
"${pkgs.feh}/bin/feh --no-fehbg --bg-scale ${config.stylix.image}";
}