Upgraded snowfall lib
This commit is contained in:
parent
7e87dbc55b
commit
a1709f033f
58 changed files with 22 additions and 19 deletions
26
modules/nixos/suites/desktop/default.nix
Normal file
26
modules/nixos/suites/desktop/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
35
modules/nixos/suites/development/default.nix
Normal file
35
modules/nixos/suites/development/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
20
modules/nixos/suites/gaming/default.nix
Normal file
20
modules/nixos/suites/gaming/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
41
modules/nixos/suites/utils/default.nix
Normal file
41
modules/nixos/suites/utils/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue