diff --git a/hosts/ritual/hardware-configuration.nix b/hosts/ritual/hardware-configuration.nix index 03f53f1..821d8f5 100644 --- a/hosts/ritual/hardware-configuration.nix +++ b/hosts/ritual/hardware-configuration.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -12,6 +12,12 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + boot.initrd.systemd = { + enable = true; + emergencyAccess = + "$2b$05$eOIXFST5/9G6vAFIZDLGfuJV7CV1B26YmRMAFRstyRHwvBNFSN6Im"; + }; + boot.supportedFilesystems = [ "ntfs" ]; fileSystems."/" = { diff --git a/hosts/tears/hardware-configuration.nix b/hosts/tears/hardware-configuration.nix index 64c8927..f838156 100644 --- a/hosts/tears/hardware-configuration.nix +++ b/hosts/tears/hardware-configuration.nix @@ -12,6 +12,12 @@ boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.initrd.systemd = { + enable = true; + emergencyAccess = + "$2b$05$eOIXFST5/9G6vAFIZDLGfuJV7CV1B26YmRMAFRstyRHwvBNFSN6Im"; + }; + boot.supportedFilesystems = [ "ntfs" ]; fileSystems."/" = {