Restructure home and system modules

This commit is contained in:
Florian RICHER 2024-05-27 22:40:30 +02:00
parent b86a8b50c7
commit a03355b3a1
35 changed files with 82 additions and 82 deletions

View file

@ -2,10 +2,10 @@
with lib;
let
cfg = config.homeModules.apps.chromium;
cfg = config.modules.home.apps.chromium;
in
{
options.homeModules.apps.chromium = {
options.modules.home.apps.chromium = {
enable = mkEnableOption ''
Enable chromium with my custom configurations
'';

View file

@ -2,12 +2,12 @@
with lib;
let
cfg = config.homeModules.apps.flatpak;
cfg = config.modules.home.apps.flatpak;
in
{
imports = [ nix-flatpak.homeManagerModules.nix-flatpak ];
options.homeModules.apps.flatpak = {
options.modules.home.apps.flatpak = {
enable = mkEnableOption ''
Enable flatpak with my custom configurations
'';

View file

@ -2,10 +2,10 @@
with lib;
let
cfg = config.homeModules.apps.jetbrainsToolbox;
cfg = config.modules.home.apps.jetbrainsToolbox;
in
{
options.homeModules.apps.jetbrainsToolbox = {
options.modules.home.apps.jetbrainsToolbox = {
enable = mkEnableOption ''
Enable jetbrainsToolbox with my custom configurations
'';

View file

@ -2,16 +2,16 @@
with lib;
let
cfg = config.homeModules.apps.kitty;
cfg = config.modules.home.apps.kitty;
in
{
options.homeModules.apps.kitty = {
options.modules.home.apps.kitty = {
enable = mkEnableOption ''
Enable kitty with my custom configurations
'';
enableBlur = mkOption {
default = !config.homeModules.desktop.hyprland.enable; # Disable by default if hyprland is enabled (Hyprland enable own blur)
default = !config.modules.home.desktop.hyprland.enable; # Disable by default if hyprland is enabled (Hyprland enable own blur)
example = true;
description = ''
Enable blur (Usefull to disable with hyprland)

View file

@ -2,10 +2,10 @@
with lib;
let
cfg = config.homeModules.apps.vscode;
cfg = config.modules.home.apps.vscode;
in
{
options.homeModules.apps.vscode = {
options.modules.home.apps.vscode = {
enable = mkEnableOption ''
Enable vscode with my custom configurations
'';