add stylix to artemision config
This commit is contained in:
15
systems/artemision/stylix.nix
Normal file
15
systems/artemision/stylix.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
|
||||
numWallpapers =
|
||||
$((1 + $RANDOM % 10))
|
||||
|
||||
'';
|
||||
in
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = randWallpaper;
|
||||
polarity = "dark";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user