From 30f5b57fabd3eb6e2ae81c3b82dbe1fd0c2d6ba0 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 22 Apr 2024 21:55:21 -0400 Subject: [PATCH] hosts: update disko --- hosts/ame/hardware.nix | 3 +-- hosts/tsuki/disko-config.nix | 2 +- hosts/tsuki/hardware.nix | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/ame/hardware.nix b/hosts/ame/hardware.nix index 3fd0b57..de17c43 100644 --- a/hosts/ame/hardware.nix +++ b/hosts/ame/hardware.nix @@ -5,6 +5,7 @@ ... }: { imports = [ + ./disko-config.nix (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -18,7 +19,6 @@ }; efi = { canTouchEfiVariables = true; - efiSysMountPoint = "/boot/efi"; }; }; initrd = { @@ -30,7 +30,6 @@ zramSwap = { enable = true; swapDevices = 1; - memoryPercent = 50; algorithm = "zstd"; }; diff --git a/hosts/tsuki/disko-config.nix b/hosts/tsuki/disko-config.nix index 903ed01..8dc6ba1 100644 --- a/hosts/tsuki/disko-config.nix +++ b/hosts/tsuki/disko-config.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + nvme0n1 = { device = "/dev/nvme0n1"; type = "disk"; content = { diff --git a/hosts/tsuki/hardware.nix b/hosts/tsuki/hardware.nix index 32ed5a9..1937c62 100755 --- a/hosts/tsuki/hardware.nix +++ b/hosts/tsuki/hardware.nix @@ -5,6 +5,7 @@ ... }: { imports = [ + # ./disko-config.nix (modulesPath + "/installer/scan/not-detected.nix") ];