feat: reinstalled vendetta.

Now reboots perfectly
This commit is contained in:
silver 2023-11-17 11:41:22 +00:00
parent 2989cb5b72
commit e42f718ba5
26 changed files with 127 additions and 125 deletions

View file

@ -13,23 +13,27 @@
./_base.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.availableKernelModules = ["ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/34918a4f-ca27-4070-a309-94bc59bdd743";
device = "/dev/disk/by-uuid/5c1a39c9-c458-4518-b75b-5a831bebc204";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8B03-4D11";
device = "/dev/disk/by-uuid/8CBD-7032";
fsType = "vfat";
};
swapDevices = [
{device = "/dev/disk/by-uuid/c83e65ad-d252-4024-93a9-0253c5d8beac";}
{device = "/dev/disk/by-uuid/515df5d9-abad-4068-bacc-559fb76e1fb1";}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@ -39,7 +43,6 @@
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s29u1u2.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -28,10 +28,7 @@ in {
targetPort = 22;
targetUser = null;
tags = [
# TODO: undo once the server has been updated.
# "active-dns" "dns"
];
tags = ["active-dns" "dns"];
};
networking = {