refactor(eientei)!: migrate library configuration

This commit is contained in:
514fpv 2024-02-02 04:39:50 +08:00
parent 57549b647e
commit 1ee4164f83
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
10 changed files with 52 additions and 103 deletions

View file

@ -1,4 +1,5 @@
{ lib
, pkgs
, ... }: {
global = {
id = "ff96c05be13e44f681292205370eed1a";
@ -13,6 +14,7 @@
fs.cryptsetup.allowDiscards = false;
fs.cryptsetup.uuids.secret = "c33c9b18-a280-42d7-8740-3f8d3f60dc43";
boot.lanzaboote = true;
acme.enable = true;
};
services.fstrim.enable = true;
@ -45,4 +47,7 @@
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
networking.firewall.allowedTCPPorts = [ 25565 ];
environment.systemPackages = with pkgs; [ python3 ];
}