From ffad65d90299af6941d93077e4aeba1468d10865 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Thu, 21 Apr 2022 01:15:51 -0400 Subject: [PATCH] OVH is annoying... --- machines/ponyo/configuration.nix | 10 ++++++---- machines/ponyo/hardware-configuration.nix | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/machines/ponyo/configuration.nix b/machines/ponyo/configuration.nix index 5c5d3ab..8880324 100644 --- a/machines/ponyo/configuration.nix +++ b/machines/ponyo/configuration.nix @@ -5,17 +5,19 @@ ./hardware-configuration.nix ]; - # un23pkwc3ij7pugl4uiwvdrjjw7xghxbkzppgn3siubqggchbosi6cyd.onion + # cfamr6artx75qvt7ho3rrbsc7mkucmv5aawebwflsfuorusayacffryd.onion networking.hostName = "ponyo"; firmware.x86_64.enable = true; - efi.enable = true; - boot.loader.grub.efiInstallAsRemovable = true; + bios = { + enable = true; + device = "/dev/sda"; + }; luks = { enable = true; - device.path = "/dev/disk/by-uuid/84eaca59-6b03-47b1-9296-9d4736bcf0e0"; + device.path = "/dev/disk/by-uuid/4cc36be4-dbff-4afe-927d-69bf4637bae2"; }; system.autoUpgrade.enable = true; diff --git a/machines/ponyo/hardware-configuration.nix b/machines/ponyo/hardware-configuration.nix index cc2cd1b..5d58f4e 100644 --- a/machines/ponyo/hardware-configuration.nix +++ b/machines/ponyo/hardware-configuration.nix @@ -7,7 +7,7 @@ boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-intel" "nvme" ]; boot.extraModulePackages = [ ]; fileSystems."/" = @@ -16,13 +16,13 @@ }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/4CB6-D9F3"; - fsType = "vfat"; + { device = "/dev/disk/by-uuid/d3a3777d-1e70-47fa-a274-804dc70ee7fd"; + fsType = "ext4"; }; swapDevices = [ { - device = "/dev/disk/by-partuuid/af3c7ed6-9cc6-8241-bc36-8e1aff5c1a34"; + device = "/dev/disk/by-partuuid/b14668b8-9026-b041-8b71-f302b6b291bf"; randomEncryption.enable = true; } ];