feat(nixos:appearance): move appearance options to nixos
This commit is contained in:
parent
cedeb52103
commit
ceb66c03cf
51 changed files with 393 additions and 377 deletions
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
config,
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
wayland = config.ooknet.wayland;
|
||||
pointer = config.home.pointerCursor;
|
||||
inherit (config.colorscheme) palette;
|
||||
inherit (osConfig.ooknet.appearance) colorscheme cursor;
|
||||
inherit (colorscheme) palette;
|
||||
inherit (config.ooknet) wayland;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
|
|
@ -23,7 +24,7 @@ in {
|
|||
};
|
||||
|
||||
exec-once = [
|
||||
"hyprctl setcursor ${pointer.name} ${toString pointer.size}"
|
||||
"hyprctl setcursor ${cursor.name} ${toString cursor.size}"
|
||||
];
|
||||
|
||||
decoration = {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
wallpaperPath = config.ooknet.wallpaper.path;
|
||||
inherit (config.ooknet) wayland;
|
||||
wallpaperPath = osConfig.ooknet.appearance.wallpaper.path;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
services.hyprpaper = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue