summaryrefslogtreecommitdiff
path: root/hosts/fscusat
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/fscusat')
-rw-r--r--hosts/fscusat/hardware-configuration.nix23
1 files changed, 15 insertions, 8 deletions
diff --git a/hosts/fscusat/hardware-configuration.nix b/hosts/fscusat/hardware-configuration.nix
index 3913e1e..8bb54ed 100644
--- a/hosts/fscusat/hardware-configuration.nix
+++ b/hosts/fscusat/hardware-configuration.nix
@@ -3,14 +3,21 @@
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
- boot.initrd.availableKernelModules = [
- "ata_piix"
- "uhci_hcd"
- "virtio_pci"
- "virtio_scsi"
- "sd_mod"
- "sr_mod"
- ];
+ boot = {
+ loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
+
+ initrd.availableKernelModules = [
+ "ata_piix"
+ "uhci_hcd"
+ "virtio_pci"
+ "virtio_scsi"
+ "sd_mod"
+ "sr_mod"
+ ];
+ };
fileSystems = {
"/" = {