wip refactor

This commit is contained in:
Leonardo Eugênio 2025-02-20 22:01:03 -03:00
parent 294f1837d5
commit 321cb97502
10 changed files with 113 additions and 79 deletions

9
user/gaming.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, ... }:
let
cfg = config.my.gaming;
in
{
options.my.gaming.enable = lib.mkEnableOption { };
config = lib.mkIf cfg.enable {
};
}

View file

@ -7,9 +7,13 @@
let
inherit (config.my) accent theme editor;
inherit (theme) color;
cfg = config.my.helix;
in
{
config = {
options.my.helix.enable = lib.mkEnableOption "Enable helix config";
config = lib.mkIf cfg.enable {
programs.helix = {
enable = true;
settings = {

View file

@ -21,6 +21,7 @@
./rofi.nix
./mpv.nix
./mangohud.nix
./gaming.nix
./pipewire.nix
./mimeapps.nix
./desktop-entries.nix