aboutsummaryrefslogtreecommitdiff
path: root/nixos/configurations/ridcully.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/configurations/ridcully.nix')
-rw-r--r--nixos/configurations/ridcully.nix23
1 files changed, 12 insertions, 11 deletions
diff --git a/nixos/configurations/ridcully.nix b/nixos/configurations/ridcully.nix
index 0b2705c..97a0456 100644
--- a/nixos/configurations/ridcully.nix
+++ b/nixos/configurations/ridcully.nix
@@ -1,10 +1,4 @@
-{
- lib,
- pkgs,
- ...
-}: let
- inherit (lib) mkDefault;
-in {
+{pkgs, ...}: {
system.stateVersion = "24.05";
nixpkgs.hostPlatform.system = "x86_64-linux";
deploy.enable = true;
@@ -18,12 +12,17 @@ in {
};
};
- boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage"];
+ boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.kernelModules = ["kvm-amd"];
hardware.cpu.amd.updateMicrocode = true;
services.hardware.openrgb.motherboard = "amd";
+ zramSwap = {
+ enable = true;
+ memoryPercent = 50;
+ };
+
cynerd.autounlock = {
"encroot" = "/dev/disk/by-uuid/bc7d2ba4-6e04-4c49-b40c-3aecd1a86c71";
"enchdd" = "/dev/disk/by-uuid/7fee3cda-efa0-47cd-8832-fdead9a7e6db";
@@ -71,13 +70,15 @@ in {
environment.systemPackages = [
pkgs.nvtopPackages.amd
+ #sbctl
];
+ # Force nix to use less jobs
+ nix.settings.max-jobs = 4;
+
+ ##############################################################################
services.syncthing = {
enable = true;
dataDir = "/home/cynerd";
};
-
- # Force nix to use less jobs
- nix.settings.max-jobs = 8;
}