home/nixos/machines/foxhut/boot.nix

28 lines
729 B
Nix
Raw Normal View History

2024-11-17 15:55:55 +01:00
{ pkgs, asahi-firmware, ... }:
2024-07-03 18:59:55 +02:00
{ config, ... }:
2024-06-27 11:24:25 +02:00
{
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
hardware.asahi.peripheralFirmwareDirectory = asahi-firmware;
hardware.asahi.enable = true;
hardware.asahi.setupAsahiSound = true;
hardware.asahi.useExperimentalGPUDriver = true;
hardware.asahi.experimentalGPUInstallMode = "replace";
2024-07-03 18:59:55 +02:00
fileSystems.foxshare = {
fsType = "exfat";
device = "/dev/disk/by-label/foxshare";
mountPoint = "/home/xenia/foxshare";
options = ["uid=${builtins.toString config.users.users.xenia.uid}" "nofail"];
};
2024-09-15 23:20:47 +02:00
swapDevices = [{
device = "/swap";
size = 16 * 1024; # 16GB
}];
2024-06-27 11:24:25 +02:00
}