beginning of big refactoring
This commit is contained in:
parent
0cc4d34af1
commit
7d73d14ea5
68 changed files with 358 additions and 2818 deletions
53
modules/options/system/programs/default.nix
Normal file
53
modules/options/system/programs/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
options.modules.system.programs = {
|
||||
editors = {
|
||||
emacs.enable = mkEnableOption "Emacs operatig system";
|
||||
neovim.enable = mkEnableOption "Neovim text editor";
|
||||
helix.enable = mkEnableOption "Helix text editor";
|
||||
kakoune.enable = mkEnableOption "Kakoune text editor";
|
||||
};
|
||||
|
||||
discord.enable = mkEnableOption "Discord messenger";
|
||||
spotify.enable = mkEnableOption "Spotify music client";
|
||||
zathura.enable = mkEnableOption "Zathura pdf viewer";
|
||||
nextcloud.enable = mkEnableOption "Nextcloud sync client";
|
||||
firefox.enable = mkEnableOption "Firefox web browser";
|
||||
|
||||
terminals = {
|
||||
foot.enable = mkEnableOption "Foot terminal emulator";
|
||||
kitty.enable = mkEnableOption "Kitty terminal emulator";
|
||||
};
|
||||
|
||||
git = {
|
||||
signingKey = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = "The default gpg key used for signing commits";
|
||||
};
|
||||
};
|
||||
default = {
|
||||
terminal = mkOption {
|
||||
type = types.enum ["foot" "kitty"];
|
||||
default = "foot";
|
||||
};
|
||||
fileManager = mkOption {
|
||||
type = types.enum ["thunar" "dolphin" "nemo"];
|
||||
default = "thunar";
|
||||
};
|
||||
browser = mkOption {
|
||||
type = types.enum ["firefox" "librewolf" "chromium"];
|
||||
default = "firefox";
|
||||
};
|
||||
editor = mkOption {
|
||||
type = types.enum ["neovim" "helix" "emacs"];
|
||||
default = "emacs";
|
||||
};
|
||||
launcher = mkOption {
|
||||
type = types.enum ["anyrun" "rofi" "wofi"];
|
||||
default = "anyrun";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue