mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
cleanup
This commit is contained in:
parent
87b040ba90
commit
a530f2d7b8
5 changed files with 12 additions and 12 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.browsers;
|
cfg = config.modules.browsers;
|
||||||
|
|
||||||
in
|
in
|
||||||
{ options.modules.browsers = { enable = mkEnableOption "browsers"; };
|
{ options.modules.browsers = { enable = mkEnableOption "browsers"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty
|
./alacritty
|
||||||
./bash
|
./bash
|
||||||
./browsers
|
./browsers
|
||||||
|
|
@ -13,5 +13,5 @@
|
||||||
./neovim
|
./neovim
|
||||||
./security
|
./security
|
||||||
./utils
|
./utils
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.fun;
|
cfg = config.modules.fun;
|
||||||
|
|
||||||
in
|
in
|
||||||
{ options.modules.fun = { enable = mkEnableOption "fun"; };
|
{ options.modules.fun = { enable = mkEnableOption "fun"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.obs-studio = {
|
programs.obs-studio = {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.security;
|
cfg = config.modules.security;
|
||||||
|
|
||||||
in
|
in
|
||||||
{ options.modules.security = { enable = mkEnableOption "security"; };
|
{ options.modules.security = { enable = mkEnableOption "security"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
pass wireguard-tools ipscan
|
pass wireguard-tools ipscan
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.utils;
|
cfg = config.modules.utils;
|
||||||
|
|
||||||
in
|
in
|
||||||
{ options.modules.utils = { enable = mkEnableOption "utils"; };
|
{ options.modules.utils = { enable = mkEnableOption "utils"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue