refactor(home): homeModules -> ooknet

This commit is contained in:
ooks-io 2024-05-30 22:02:18 +12:00
parent b81c929a0b
commit 1d1cb3092f
104 changed files with 214 additions and 255 deletions

View file

@ -7,7 +7,7 @@
./hyprlock
];
options.homeModules.desktop.wayland.lockscreen = {
options.ooknet.desktop.wayland.lockscreen = {
swaylock = {
enable = lib.mkEnableOption "Enable Swaylock screen";
};

View file

@ -1,8 +1,8 @@
{ lib, config, inputs, pkgs, ... }:
let
cfg = config.homeModules.desktop.wayland.lockscreen.hyprlock;
fonts = config.homeModules.theme.fonts;
cfg = config.ooknet.desktop.wayland.lockscreen.hyprlock;
fonts = config.ooknet.theme.fonts;
inherit (config.colorscheme) palette;
in

View file

@ -2,9 +2,9 @@
let
inherit (config.colorscheme) palette;
fonts = config.homeModules.theme.fonts;
wallpaperPath = config.homeModules.theme.wallpaper.path;
cfg = config.homeModules.desktop.wayland.lockscreen.swaylock;
fonts = config.ooknet.theme.fonts;
wallpaperPath = config.ooknet.theme.wallpaper.path;
cfg = config.ooknet.desktop.wayland.lockscreen.swaylock;
in
{
config = lib.mkIf cfg.enable {