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

@ -3,12 +3,14 @@
self,
config,
...
}: let
}:
let
inherit (lib) mkEnableOption mkIf;
inherit (self) namespace;
cfg = config.${namespace}.archetypes.laptop;
in {
in
{
options.${namespace}.archetypes.laptop = {
enable = mkEnableOption "the laptop archetype.";
};

View file

@ -3,12 +3,14 @@
self,
config,
...
}: let
}:
let
inherit (lib) mkEnableOption mkIf;
inherit (self) namespace;
cfg = config.${namespace}.archetypes.server;
in {
in
{
options.${namespace}.archetypes.server = {
enable = mkEnableOption "the server archetype for your current system";
};

View file

@ -4,12 +4,14 @@
pkgs,
config,
...
}: let
}:
let
inherit (lib) mkEnableOption mkIf mkDefault;
inherit (self) namespace;
cfg = config.${namespace}.archetypes.workstation;
in {
in
{
options.${namespace}.archetypes.workstation = {
enable = mkEnableOption "the workstation archetype.";
};