refactor: automatic options for overlays, fix build

This commit is contained in:
müde 2026-05-01 23:06:26 +02:00
parent 850d673035
commit 281d763c62
7 changed files with 72 additions and 46 deletions

View file

@ -10,11 +10,9 @@
# No one got time for xz compression.
#isoImage.squashfsCompression = "zstd";
boot.loader = {
raspberry-pi.bootloader = "kernel";
systemd-boot.enable = lib.mkForce false;
#generic-extlinux-compatible.enable = lib.mkForce false;
};
boot.loader.raspberry-pi.bootloader = "kernel";
my.systemdBoot.enable = lib.mkForce false;
/*
fileSystems = {

View file

@ -1,12 +1,11 @@
{
pkgs,
self,
lib,
...
}:
{
nixpkgs.overlays = [ self.overlays.unstable-packages ];
my.overlays.unstable.enable = true;
allowedUnfreePackages = [ "claude-code" ];
environment.systemPackages = with pkgs; [

View file

@ -1,6 +1,13 @@
{ ... }:
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ];
config = {
my.pxvirtGuest.enable = true;
proxmoxLXC = {
manageNetwork = false;
privileged = false;
};
};
}