Nixconfigs/systems/ren/system.nix
Maxiem Geldhof 5b151e7327 Ren key
2025-10-31 17:02:30 +01:00

37 lines
700 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
];
}