Skip to content

Commit

Permalink
migrate marge over to aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
thilobillerbeck committed Feb 26, 2024
1 parent b9f60cf commit dbd0e0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
5 changes: 4 additions & 1 deletion hive.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
nixpkgs = import sources.nixpkgs { };
nodeNixpkgs = {
burns = import sources.unstable {
system = "aarch64-linux";
system = "aarch64-linux";
};
bart = import sources.nixpkgs {
system = "aarch64-linux";
};
skinner = import sources.nixpkgs {
system = "aarch64-linux";
};
marge = import sources.nixpkgs {
system = "aarch64-linux";
};
};
};

Expand Down
16 changes: 7 additions & 9 deletions machines/marge/hardware.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
fileSystems."/boot" = { device = "/dev/disk/by-uuid/9996-D6D8"; fsType = "vfat"; };
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
swapDevices = [{
device = "/swapfile";
size = (1024 * 2);
}];
boot.cleanTmpDir = true;
zramSwap.enable = true;

}

0 comments on commit dbd0e0a

Please sign in to comment.