wip(home): refactor home modules *WILL NOT BUILD*
This commit is contained in:
parent
2033810429
commit
6a591ecbf7
115 changed files with 1028 additions and 791 deletions
|
|
@ -1,17 +1,6 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./gammastep
|
||||
./tools
|
||||
./gammastep.nix
|
||||
./tools.nix
|
||||
];
|
||||
|
||||
options.ooknet.desktop.wayland.utility = {
|
||||
tools = {
|
||||
enable = lib.mkEnableOption "Enable wayland specific tools";
|
||||
};
|
||||
gammastep = {
|
||||
enable = lib.mkEnableOption "Enable gammastep module";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ooknet.desktop.wayland.utility.gammastep;
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.wayland;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = mkIf cfg.enable {
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
enableVerboseLogging = true;
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ooknet.desktop.wayland.utility.tools;
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.wayland;
|
||||
in
|
||||
|
||||
{
|
||||
Loading…
Add table
Add a link
Reference in a new issue