Reformatted with nixfmt

This commit is contained in:
alejandro-angulo 2025-03-31 22:34:25 -07:00
parent f51256c3ae
commit 3f16537322
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
80 changed files with 1454 additions and 992 deletions

View file

@ -5,9 +5,11 @@
lib,
...
}:
with lib; let
with lib;
let
cfg = config.aa.system.fonts;
in {
in
{
options.aa.system.fonts = with types; {
enable = mkEnableOption "manage fonts";
};

View file

@ -3,11 +3,13 @@
pkgs,
lib,
...
}: let
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.aa.system.monitoring;
in {
in
{
options.aa.system.monitoring = {
enable = mkEnableOption "monitoring";
};

View file

@ -5,16 +5,18 @@
lib,
...
}:
with lib; let
with lib;
let
cfg = config.aa.system.zfs;
in {
in
{
options.aa.system.zfs = with types; {
enable = mkEnableOption "zfs";
# TODO: Introduce a zfsOnRoot option
};
config = mkIf cfg.enable {
environment.systemPackages = [pkgs.zfs-prune-snapshots];
environment.systemPackages = [ pkgs.zfs-prune-snapshots ];
services.zfs = {
autoScrub.enable = true;