nix/nixos/default.nix

31 lines
924 B
Nix
Raw Normal View History

2024-03-14 06:10:27 +01:00
{ inputs, lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
2023-08-23 07:30:15 +02:00
imports = [
2024-04-29 05:28:40 +02:00
# 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
# Software
2024-04-30 01:22:16 +02:00
./common/software/cli/clean-hm.nix
2024-05-01 04:14:00 +02:00
./common/packages
2024-04-29 05:28:40 +02:00
# 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;
2023-08-23 07:30:15 +02:00
}