mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: meiling
This commit is contained in:
parent
dd30009b7e
commit
47ca22ff47
30 changed files with 431 additions and 70 deletions
23
nixos/hw/proxmox.nix
Normal file
23
nixos/hw/proxmox.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
modulesPath,
|
||||
meta,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in {
|
||||
imports = let
|
||||
inherit (meta) nixos;
|
||||
in [
|
||||
nixos.hw.headless
|
||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
# nix default is way too big
|
||||
GC_INITIAL_HEAP_SIZE = mkDefault "8M";
|
||||
};
|
||||
# XXX: this might be okay if the nix daemon's tmp is overridden
|
||||
# (but still avoid since containers are usually low on provisioned memory)
|
||||
boot.tmp.useTmpfs = mkDefault false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue