mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
Wrap hyprpaper
This commit is contained in:
parent
554b05c33b
commit
97b608bf9a
4 changed files with 22 additions and 23 deletions
|
|
@ -6,14 +6,7 @@
|
|||
}: let
|
||||
cfg = config.myConfig.de;
|
||||
in {
|
||||
options.myConfig.de = {
|
||||
theme = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
};
|
||||
wallpaper = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
};
|
||||
options.myConfig.de.theme = lib.mkOption {type = lib.types.str;};
|
||||
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf (cfg.theme == "dark") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue