Update to 24.11

This commit is contained in:
pazpi 2024-12-24 15:09:59 +01:00
parent 1d7dd28eed
commit 12428047b8
6 changed files with 48 additions and 15 deletions

View file

@ -1,4 +1,7 @@
# Starting image for LXC containers on Proxmox
# How to generate the tarball and upload it to Proxmox:
# 1. nix build ".#nixosConfigurations.baseLXC.config.system.build.tarball"
# 2. rsync -vzh --progress ./result/tarball/nixos-system-x86_64-linux.tar.xz root@proxmox:/var/lib/vz/template/cache/nixos-system-<NIXOS-VERSION>-x86_64-lxc-template.tar.xz
{
config,

View file

@ -27,6 +27,14 @@ let
customOverlays
];
config.allowUnfree = true;
# Necessary for Sonarr on arr host
config.permittedInsecurePackages = [
"aspnetcore-runtime-6.0.36"
"aspnetcore-runtime-wrapped-6.0.36"
"dotnet-sdk-6.0.428"
"dotnet-sdk-wrapped-6.0.428"
];
};
myModule = {
@ -113,12 +121,23 @@ in
# specialArgs = { };
};
plex = nixpkgs.lib.nixosSystem {
pkgs = pkgs "x86_64-linux";
modules = [
myModule
proxmoxModule
./plex
agenix.nixosModules.default
];
# specialArgs = { };
};
vaultwarden = nixpkgs.lib.nixosSystem {
pkgs = pkgs "x86_64-linux";
modules = [
myModule
proxmoxModule
./nextcloud
./vaultwarden
agenix.nixosModules.default
];
# specialArgs = { };

View file

@ -16,7 +16,7 @@
networking.nas-samba-share = {
enable = true;
allowUsers = [ config.my.services.plex.user ];
allowUsers = [ config.services.plex.user ];
};
virtualisation.proxmox.enable = true;