Re-add the features config prefix

This commit is contained in:
Oliver Davies 2025-07-09 08:00:00 +01:00
parent 34cb9db3d4
commit 45433358ff
50 changed files with 245 additions and 231 deletions

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.desktop.dconf;
cfg = config.features.desktop.dconf;
in
{
options.desktop.dconf.enable = mkEnableOption "Enable dconf";
options.features.desktop.dconf.enable = mkEnableOption "Enable dconf";
config = mkIf cfg.enable {
programs.dconf.enable = true;

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.desktop.dwm;
cfg = config.features.desktop.dwm;
in
{
options.desktop.dwm.enable = mkEnableOption "Enable dwm";
options.features.desktop.dwm.enable = mkEnableOption "Enable dwm";
config = mkIf cfg.enable {
services = {

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.desktop.fonts;
cfg = config.features.desktop.fonts;
in
{
options.desktop.fonts.enable = mkEnableOption "Enable fonts";
options.features.desktop.fonts.enable = mkEnableOption "Enable fonts";
config = mkIf cfg.enable {
fonts = {

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.desktop.media.makemkv;
cfg = config.features.desktop.media.makemkv;
in
{
options.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
options.features.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
config = mkIf cfg.enable {
boot.kernelModules = [ "sg" ];

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.desktop.st;
cfg = config.features.desktop.st;
in
{
options.desktop.st.enable = mkEnableOption "Enable st";
options.features.desktop.st.enable = mkEnableOption "Enable st";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.desktop.thunar;
cfg = config.features.desktop.thunar;
in
{
options.desktop.thunar.enable = mkEnableOption "Enable thunar";
options.features.desktop.thunar.enable = mkEnableOption "Enable thunar";
config = mkIf cfg.enable {
programs.thunar = {