nix/nixos/small.nix
2025-02-05 12:54:24 -08:00

35 lines
954 B
Nix

{ inputs, lib,hostname, username, desktop, ... }: {
imports = [
# Modules
inputs.disko.nixosModules.disko
# Services
./common/services/openssh.nix
./common/services/fail2ban.nix
./common/services/tailscale.nix
./common/services/promtail.nix
./common/services/telegraf.nix
# Software
./common/software/cli/scripts.nix
./common/packages/small.nix
# NixOS Modules
./common/modules/networking.nix # Initial Networking configs
./common/modules/nixos.nix # Common NixOS Configurations
./common/modules/remote-builders.nix # Add remote builders
./users/${username}
./hosts/${hostname}
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
documentation = {
enable = false;
man.enable = false;
info.enable = false;
doc.enable = false;
dev.enable = false;
nixos.enable = false;
};
programs.fish.enable = true;
}