Upgraded snowfall lib

This commit is contained in:
Alejandro Angulo 2023-10-04 20:36:21 -07:00
parent 7e87dbc55b
commit a1709f033f
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
58 changed files with 22 additions and 19 deletions

View file

@ -0,0 +1,26 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.suites.desktop;
in {
options.aa.suites.desktop = with lib.types; {
enable = mkEnableOption "common desktop configuration";
};
config = mkIf cfg.enable {
aa = {
desktop = {
sway.enable = true;
};
apps = {
firefox.enable = true;
};
};
};
}

View file

@ -0,0 +1,35 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.suites.development;
in {
options.aa.suites.development = with lib.types; {
enable = mkEnableOption "common configuration";
};
config = mkIf cfg.enable {
aa = {
tools = {
direnv.enable = true;
eza.enable = true;
git.enable = true;
gpg.enable = true;
zsh.enable = true;
};
apps = {
neovim.enable = true;
tmux.enable = true;
};
};
environment.systemPackages = with pkgs; [
pre-commit
];
};
}

View file

@ -0,0 +1,20 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.suites.gaming;
in {
options.aa.suites.gaming = with lib.types; {
enable = mkEnableOption "gaming configuration";
};
config = mkIf cfg.enable {
aa.apps = {
steam.enable = true;
};
};
}

View file

@ -0,0 +1,41 @@
{
options,
config,
lib,
pkgs,
inputs,
...
}:
with lib; let
cfg = config.aa.suites.utils;
in {
options.aa.suites.utils = with lib.types; {
enable = mkEnableOption "common configuration";
};
config = mkIf cfg.enable {
aa.apps.bat.enable = true;
environment.systemPackages = with pkgs; [
inputs.agenix.packages.x86_64-linux.default
alejandra
bind # for dig
curl
deploy-rs
du-dust
fd
file
htop
jq
killall
lsof
pre-commit
progress
python3
ripgrep
sqlite
tcpdump
usbutils
wget
];
};
}