24 lines
705 B
Nix
24 lines
705 B
Nix
{ agenix, jellyfin-exporter, nixpkgs, self, ... }:
|
|
let
|
|
system = "aarch64-linux";
|
|
in
|
|
nixpkgs.lib.nixosSystem {
|
|
system = system;
|
|
specialArgs = {
|
|
# This selects the package for the current system and passes it
|
|
exporter-pkg = jellyfin-exporter.packages.${system}.default;
|
|
system = system;
|
|
};
|
|
|
|
modules = [
|
|
./basesettings.nix
|
|
./users.nix
|
|
../../modules/servermodules/packages.nix
|
|
(import ../../modules/servermodules/nginx.nix "maxiemgeldhof.com")
|
|
../../modules/servermodules/grafana/grafana.nix
|
|
../../modules/servermodules/jellyfin/jellyfin.nix
|
|
../../modules/servermodules/wireguard/wireguard-server.nix
|
|
./volumes.nix
|
|
agenix.nixosModules.default
|
|
];
|
|
}
|