nix/nixos/default.nix
2024-11-18 19:48:36 +01:00

31 lines
958 B
Nix

{ inputs, lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
imports = [
# Modules
inputs.disko.nixosModules.disko
# Services
./common/services/openssh.nix
./common/services/promtail.nix
./common/services/fail2ban.nix
./common/services/telegraf.nix
./common/services/tailscale.nix
./common/services/gnupg-agent.nix
./common/services/opensnitch.nix
./common/services/geoclue.nix
# Software
./common/software/cli/clean-hm.nix
./common/packages
# NixOS Modules
./common/modules/fonts.nix # Font Configs
./common/modules/networking.nix # Initial Networking configs
./common/modules/nixos.nix # NixOS related items
./common/modules/remote-builders.nix # Add remote builders
./users/${username}
./hosts/${hostname}
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
programs.fish.enable = true;
}