@jaspermayone.com's dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update alastor for nix-infect: use GRUB, remove disko, fix arch

+17 -7
+1 -2
hosts/alastor/configuration.nix
··· 3 3 4 4 { 5 5 imports = [ 6 - ./disko.nix 7 6 ./hardware-configuration.nix 8 7 ../../modules/frps 9 8 ../../modules/status ··· 133 132 # Tangled Knot server (official module) 134 133 services.tangled.knot = { 135 134 enable = true; 136 - package = inputs.tangled.packages.x86_64-linux.knot; 135 + package = inputs.tangled.packages.${pkgs.system}.knot; 137 136 server = { 138 137 owner = "did:plc:krxbvxvis5skq7jj6eot23ul"; 139 138 hostname = "knot.jaspermayone.com";
+16 -5
hosts/alastor/hardware-configuration.nix
··· 1 1 # Hardware configuration for alastor VPS 2 - # Auto-generated by nixos-facter via nixos-anywhere 2 + # Generated by nix-infect on OCI ARM 3 3 { config, lib, pkgs, modulesPath, ... }: 4 4 5 5 { ··· 7 7 (modulesPath + "/profiles/qemu-guest.nix") 8 8 ]; 9 9 10 - # UEFI boot 11 - boot.loader.systemd-boot.enable = true; 12 - boot.loader.efi.canTouchEfiVariables = true; 10 + # GRUB boot (set up by nix-infect) 11 + boot.loader.grub = { 12 + efiSupport = true; 13 + efiInstallAsRemovable = true; 14 + device = "nodev"; 15 + }; 16 + 17 + # Filesystems 18 + fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; 19 + fileSystems."/boot" = { device = "/dev/disk/by-uuid/3807-C85F"; fsType = "vfat"; }; 20 + 21 + # OCI/Xen kernel modules 22 + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ]; 23 + boot.initrd.kernelModules = [ "nvme" ]; 13 24 14 25 # Enable QEMU guest agent for better VM integration 15 26 services.qemuGuest.enable = true; 16 27 17 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 28 + nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; 18 29 }