Remove xmr & add lanzaboote
This commit is contained in:
parent
6fccc77d7a
commit
e188f70579
2 changed files with 16 additions and 20 deletions
|
@ -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
|
||||
];
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue