2024-05-01 04:11:58 +02:00
|
|
|
{ inputs, lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
|
2023-09-21 13:31:55 +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
|
|
|
|
|
|
|
|
# Software
|
2024-05-01 04:14:00 +02:00
|
|
|
./common/packages/small.nix
|
2024-05-01 04:11:13 +02:00
|
|
|
|
|
|
|
# NixOS Modules
|
|
|
|
./common/modules/networking.nix # Initial Networking configs
|
2024-07-02 10:54:14 +02:00
|
|
|
./common/services/tailscale.nix # Generlc tailscale installation
|
2024-05-01 04:11:13 +02:00
|
|
|
./common/modules/nixos.nix # Common NixOS Configurations
|
|
|
|
|
|
|
|
./users/${username}
|
|
|
|
./hosts/${hostname}
|
|
|
|
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
|
|
|
|
2024-04-29 05:28:40 +02:00
|
|
|
programs.fish.enable = true;
|
2023-09-21 13:31:55 +02:00
|
|
|
}
|