nix/nixos/small.nix

29 lines
852 B
Nix
Raw Normal View History

2024-03-14 06:10:27 +01:00
{ pkgs, hostname, stateVersion, username, inputs, system, ... }: {
2023-10-04 12:51:02 +02:00
imports = [
2024-05-01 04:11:13 +02:00
# 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
./common/services/gnupg-agent.nix
# Software
./common/software/cli/clean-hm.nix
./common/software/packages/small.nix
2023-10-04 12:51:02 +02:00
2024-05-01 04:11:13 +02:00
# NixOS Modules
./common/modules/networking.nix # Initial Networking configs
./common/modules/nixos.nix # Common NixOS Configurations
./common/modules/remote-builders.nix # Add remote builders
2023-10-04 12:51:02 +02:00
2024-05-01 04:11:13 +02:00
./users/${username}
./hosts/${hostname}
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
2024-04-29 05:28:40 +02:00
programs.fish.enable = true;
2024-02-08 11:08:43 +01:00
}