Run nixfmt-rfc-style on repository and add it to Zed config

This commit is contained in:
Jo 2025-05-26 18:06:37 +02:00
parent f5e5adb2fd
commit 45494079c5
41 changed files with 441 additions and 240 deletions

View file

@ -4,16 +4,18 @@
self,
config,
...
}: let
}:
let
inherit (lib) mkEnableOption mkIf types;
inherit (self) namespace;
inherit (self.lib) mkOpt;
cfg = config.${namespace}.system.shell;
in {
in
{
options.${namespace}.system.shell = {
enable = mkEnableOption "custom user shells.";
installed = mkOpt (types.listOf types.package) [pkgs.fish] "List of shell packages to install";
installed = mkOpt (types.listOf types.package) [ pkgs.fish ] "List of shell packages to install";
default = mkOpt types.str "fish" "Set a custom shell as the default for all users.";
};