39 lines
760 B
Nix
39 lines
760 B
Nix
{
|
|
agenix,
|
|
jellyfin-exporter,
|
|
nixpkgs,
|
|
self,
|
|
...
|
|
}:
|
|
let
|
|
system = "x86_64-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 = [
|
|
{
|
|
boot.tmp.cleanOnBoot = true;
|
|
zramSwap.enable = true;
|
|
networking.hostName = "Ren";
|
|
networking.domain = "";
|
|
services.openssh.enable = true;
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
22
|
|
];
|
|
};
|
|
}
|
|
./users.nix
|
|
./hardware.nix
|
|
agenix.nixosModules.default
|
|
./volumes.nix
|
|
(import ./wireguard.nix).systemModule
|
|
];
|
|
}
|