Reformatted with nixfmt
This commit is contained in:
parent
f51256c3ae
commit
3f16537322
80 changed files with 1454 additions and 992 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue