This commit is contained in:
parent
e468579019
commit
92c4233b46
4 changed files with 15 additions and 6 deletions
|
|
@ -5,7 +5,12 @@
|
|||
config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = "${inputs.self}/walls/wallpaper.png";
|
||||
# builtins.path hashes only the image content, not the whole flake tree,
|
||||
# so palette.json is only rebuilt when the wallpaper itself changes.
|
||||
image = builtins.path {
|
||||
name = "wallpaper.png";
|
||||
path = inputs.self + "/walls/wallpaper.png";
|
||||
};
|
||||
polarity = "dark";
|
||||
|
||||
# Let stylix theme every target it supports. Per-target opt-outs go
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue