This commit is contained in:
Bryan Ramos 2024-01-28 05:48:14 -05:00
parent 87b040ba90
commit a530f2d7b8
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
5 changed files with 12 additions and 12 deletions

View file

@ -1,10 +1,10 @@
{ pkgs, lib, config, ... }:
with lib;
let
let
cfg = config.modules.browsers;
in
in
{ options.modules.browsers = { enable = mkEnableOption "browsers"; };
config = mkIf cfg.enable {
programs.firefox.enable = true;

View file

@ -1,7 +1,7 @@
{ pkgs, lib, config, ... }:
{
imports = [
{
imports = [
./alacritty
./bash
./browsers
@ -13,5 +13,5 @@
./neovim
./security
./utils
];
];
}

View file

@ -1,10 +1,10 @@
{ pkgs, lib, config, ... }:
with lib;
let
let
cfg = config.modules.fun;
in
in
{ options.modules.fun = { enable = mkEnableOption "fun"; };
config = mkIf cfg.enable {
programs.obs-studio = {

View file

@ -1,14 +1,14 @@
{ pkgs, lib, config, ... }:
with lib;
let
let
cfg = config.modules.security;
in
in
{ options.modules.security = { enable = mkEnableOption "security"; };
config = mkIf cfg.enable {
home.packages = with pkgs; [
pass wireguard-tools ipscan
];
];
};
}

View file

@ -1,10 +1,10 @@
{ pkgs, lib, config, ... }:
with lib;
let
let
cfg = config.modules.utils;
in
in
{ options.modules.utils = { enable = mkEnableOption "utils"; };
config = mkIf cfg.enable {