mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add hyprland
This commit is contained in:
parent
e2e390efdf
commit
d676358f1a
9 changed files with 279 additions and 1 deletions
|
|
@ -3,5 +3,6 @@
|
|||
./core
|
||||
./system
|
||||
./desktop
|
||||
./theme
|
||||
];
|
||||
}
|
||||
|
|
|
|||
22
modules/nixos/theme/default.nix
Normal file
22
modules/nixos/theme/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
cfg = config.mods.theme;
|
||||
in {
|
||||
options.mods.theme = {
|
||||
enable = lib.mkEnableOption "enables stylix system theme";
|
||||
scheme = lib.mkOption {
|
||||
default = "gruvbox-dark-medium";
|
||||
description = "system color scheme";
|
||||
apply = value: "${pkgs.base16-schemes}/share/themes/${value}.yaml";
|
||||
};
|
||||
wallpaper = lib.mkOption {
|
||||
default = ./wallpaper.png;
|
||||
description = "desktop wallpaper";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.base16Scheme = cfg.scheme;
|
||||
stylix.image = cfg.wallpaper;
|
||||
};
|
||||
}
|
||||
BIN
modules/nixos/theme/wallpaper.png
Normal file
BIN
modules/nixos/theme/wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 287 KiB |
Loading…
Add table
Add a link
Reference in a new issue