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