Update config and option names for modules

This commit is contained in:
Oliver Davies 2025-04-30 03:09:17 +01:00
parent fe508bd127
commit bb9b77e2f8
54 changed files with 122 additions and 120 deletions

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.homeManagerModules.desktop.browsers.firefox;
cfg = config.features.desktop.browsers.firefox;
in
{
options.homeManagerModules.desktop.browsers.firefox = {
options.features.desktop.browsers.firefox = {
enable = mkEnableOption "Enable firefox";
homepageUrl = mkOption {

View file

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

View file

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

View file

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

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.homeManagerModules.desktop.media.handbrake;
cfg = config.features.desktop.media.handbrake;
in
{
options.homeManagerModules.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
options.features.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
config = mkIf cfg.enable {
home.packages = with pkgs; [

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.homeManagerModules.desktop.media.makemkv;
cfg = config.features.desktop.media.makemkv;
in
{
options.homeManagerModules.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
options.features.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
config = mkIf cfg.enable {
home.packages = with pkgs; [

View file

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