2023-10-04 12:51:02 +02:00
|
|
|
{ lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, theme, ... }: {
|
|
|
|
imports = [
|
2023-10-04 14:45:59 +02:00
|
|
|
# Modules
|
|
|
|
inputs.disko.nixosModules.disko
|
|
|
|
|
2023-10-04 12:51:02 +02:00
|
|
|
# Services
|
|
|
|
./common/services/openssh.nix
|
|
|
|
./common/services/fail2ban.nix
|
2023-10-07 12:33:05 +02:00
|
|
|
./common/services/tailscale.nix
|
|
|
|
./common/services/promtail.nix
|
|
|
|
./common/services/telegraf.nix
|
2023-10-04 12:51:02 +02:00
|
|
|
|
|
|
|
# NixOS Modules
|
2023-10-06 12:41:55 +02:00
|
|
|
./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
|
|
|
|
2023-12-01 04:43:38 +01:00
|
|
|
./users/root
|
2023-10-06 05:52:40 +02:00
|
|
|
./users/${username}
|
2023-10-04 12:51:02 +02:00
|
|
|
./hosts/${hostname}
|
|
|
|
];
|
|
|
|
|
|
|
|
# List packages installed in system profile
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
git
|
2023-10-06 07:07:22 +02:00
|
|
|
bat
|
2023-10-06 07:09:07 +02:00
|
|
|
eza
|
2023-10-06 07:07:22 +02:00
|
|
|
duf
|
2023-10-04 12:51:02 +02:00
|
|
|
gnupg
|
2023-10-06 07:07:22 +02:00
|
|
|
screen
|
2023-10-06 07:57:17 +02:00
|
|
|
btop
|
2023-10-04 12:51:02 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
i18n.extraLocaleSettings = {
|
|
|
|
LC_ADDRESS = "en_US.UTF-8";
|
|
|
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
|
|
LC_MEASUREMENT = "en_US.UTF-8";
|
|
|
|
LC_MONETARY = "en_US.UTF-8";
|
|
|
|
LC_NAME = "en_US.UTF-8";
|
|
|
|
LC_NUMERIC = "en_US.UTF-8";
|
|
|
|
LC_PAPER = "en_US.UTF-8";
|
|
|
|
LC_TELEPHONE = "en_US.UTF-8";
|
|
|
|
LC_TIME = "en_US.UTF-8";
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = stateVersion;
|
2023-10-05 05:26:26 +02:00
|
|
|
}
|