treewide: format using nixfmt

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
This commit is contained in:
Bloxx12 2025-07-20 01:23:48 +02:00
commit e641dfa114
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
113 changed files with 1545 additions and 1019 deletions

View file

@ -1,7 +1,9 @@
{lib, ...}: let
{ lib, ... }:
let
inherit (lib.types) str enum;
inherit (lib.options) mkEnableOption mkOption;
in {
in
{
options.modules.system.programs = {
editors = {
helix.enable = mkEnableOption "Helix text editor";
@ -27,23 +29,42 @@ in {
};
default = {
terminal = mkOption {
type = enum ["foot" "kitty"];
type = enum [
"foot"
"kitty"
];
default = "foot";
};
fileManager = mkOption {
type = enum ["thunar" "dolphin" "nemo"];
type = enum [
"thunar"
"dolphin"
"nemo"
];
default = "thunar";
};
browser = mkOption {
type = enum ["firefox" "librewolf" "chromium"];
type = enum [
"firefox"
"librewolf"
"chromium"
];
default = "firefox";
};
editor = mkOption {
type = enum ["neovim" "helix" "emacs"];
type = enum [
"neovim"
"helix"
"emacs"
];
default = "emacs";
};
launcher = mkOption {
type = enum ["anyrun" "rofi" "wofi"];
type = enum [
"anyrun"
"rofi"
"wofi"
];
default = "anyrun";
};
};