Remove xmr & add lanzaboote

This commit is contained in:
Tristan D. 2024-08-16 10:01:10 +02:00
parent 6fccc77d7a
commit e188f70579
Signed by: tristan
SSH key fingerprint: SHA256:3RU4RLOoM8oAjFU19f1W6t8uouZbA7GWkaSW6rjp1k8
2 changed files with 16 additions and 20 deletions

View file

@ -1,18 +0,0 @@
{ config
, lib
, pkgs
, system
, inputs
, ...
}: {
services.monero = {
enable = true;
dataDir = "/media/SanDisk/monero"; # TODO make config option for this and set sensible default
limits.upload = 1024;
};
environment.systemPackages = with pkgs; [
monero-gui
monero-cli
xmrig
];
}

View file

@ -23,7 +23,6 @@
../../os-mods/netdata
../../os-mods/network
../../os-mods/virt
../../os-mods/xmr
../../users
./disko.nix
];
@ -43,12 +42,20 @@
kernelPackages = pkgs.pkgsx86_64_v3.linuxPackages_cachyos;
loader = {
systemd-boot = {
enable = true;
enable = lib.mkForce false; #lanzaboote
configurationLimit = 16;
};
efi.canTouchEfiVariables = true;
};
# TODO Extract secureboot module
lanzaboote = {
enable = true;
configurationLimit = 16;
pkiBundle = "/etc/secureboot";
};
initrd = {
availableKernelModules = [ "ahci" "nvme" "xhci_pci" "uas" "usbhid" "usb_storage" "sd_mod" ];
kernelModules = [ ];
@ -58,6 +65,13 @@
extraModulePackages = [ ];
};
environment.systemPackages = with pkgs; [
lm_sensors
coreutils-full
cpu-x
sbctl # secureboot debugging/config/mgmt
];
services.btrfs.autoScrub.enable = true;
networking = {