From 332410c962cdd6cbc0a1e1a83f134cffc7578059 Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Thu, 3 Oct 2024 12:12:35 +0200 Subject: [PATCH] nyanyanya --- hosts/vulpecula/configuration.nix | 13 ++++++++++++- hosts/vulpecula/hardware-configuration.nix | 7 +------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/hosts/vulpecula/configuration.nix b/hosts/vulpecula/configuration.nix index 3d6731a..83c5e47 100644 --- a/hosts/vulpecula/configuration.nix +++ b/hosts/vulpecula/configuration.nix @@ -49,7 +49,18 @@ ]; - # boot.loader.grub.device = "/dev/sda"; + boot = { + loader.systemd-boot.enable = false; + + # efi.canTouchEfiVariables = true; + + initrd = { + enable = !config.boot.isContainer; + systemd.enable = false; + }; + }; + + boot.loader.grub.device = "/dev/sda"; boot.tmp.cleanOnBoot = true; zramSwap.enable = true; diff --git a/hosts/vulpecula/hardware-configuration.nix b/hosts/vulpecula/hardware-configuration.nix index 2dfe6c0..488f302 100644 --- a/hosts/vulpecula/hardware-configuration.nix +++ b/hosts/vulpecula/hardware-configuration.nix @@ -14,12 +14,7 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/04f949ae-8538-412c-b570-81c0dea29d12"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/a4663362-baee-4746-94a4-808e4e144c40"; + { device = "/dev/disk/by-uuid/b908efa0-fa9b-498e-9553-7346d9169fee"; fsType = "ext4"; };