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

@ -3,11 +3,13 @@
lib,
namespace,
...
}: let
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.suites.desktop;
in {
in
{
options.${namespace}.suites.desktop = {
enable = mkEnableOption "common desktop configuration";
};
@ -19,7 +21,7 @@ in {
# The following fixes an issue with using swaylcock as a home module
# Workaround for https://github.com/NixOS/nixpkgs/issues/158025
# This comment specifically: https://github.com/NixOS/nixpkgs/issues/158025#issuecomment-1344766809
security.pam.services.swaylock = {};
security.pam.services.swaylock = { };
# Required for GUIs (like sway) to work correctly.
hardware.graphics.enable = true;

View file

@ -3,10 +3,12 @@
lib,
pkgs,
...
}: let
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.aa.suites.development;
in {
in
{
options.aa.suites.development = {
enable = mkEnableOption "common configuration";
};

View file

@ -5,9 +5,11 @@
pkgs,
...
}:
with lib; let
with lib;
let
cfg = config.aa.suites.gaming;
in {
in
{
options.aa.suites.gaming = with lib.types; {
enable = mkEnableOption "gaming configuration";
};

View file

@ -4,11 +4,13 @@
pkgs,
inputs,
...
}: let
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.aa.suites.utils;
in {
in
{
options.aa.suites.utils = {
enable = mkEnableOption "common configuration";
};
@ -38,6 +40,6 @@ in {
usbutils
wget
])
++ [inputs.agenix.packages.x86_64-linux.default];
++ [ inputs.agenix.packages.x86_64-linux.default ];
};
}