2025-05-22 16:14:59 -07:00
|
|
|
{
|
2025-05-22 17:37:44 -07:00
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
2025-05-22 16:14:59 -07:00
|
|
|
}: {
|
2025-05-22 17:37:44 -07:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
raspberrypi-eeprom
|
|
|
|
|
];
|
|
|
|
|
programs.partition-manager.enable = false;
|
2025-05-22 16:14:59 -07:00
|
|
|
|
2025-05-22 17:37:44 -07:00
|
|
|
services.printing.enable = false;
|
|
|
|
|
i18n.inputMethod = {};
|
2025-05-22 16:14:59 -07:00
|
|
|
|
2025-05-22 17:37:44 -07:00
|
|
|
services.xserver.enable = false;
|
|
|
|
|
services.desktopManager.plasma6.enable = false;
|
2025-05-22 16:14:59 -07:00
|
|
|
|
2025-05-22 17:37:44 -07:00
|
|
|
hardware.raspberry-pi."4" = {
|
|
|
|
|
bluetooth.enable = true;
|
|
|
|
|
audio.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = false;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
2025-05-22 16:14:59 -07:00
|
|
|
|
2025-05-22 17:37:44 -07:00
|
|
|
fileSystems = {
|
|
|
|
|
"/" = {
|
|
|
|
|
device = "/dev/disk/by-label/NIXOS_SD";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
options = ["noatime"];
|
|
|
|
|
};
|
2025-05-22 16:14:59 -07:00
|
|
|
};
|
|
|
|
|
|
2025-05-22 17:37:44 -07:00
|
|
|
nix.buildMachines = [
|
|
|
|
|
{
|
|
|
|
|
hostName = "nolaptop";
|
|
|
|
|
systems = ["x86_64-linux" "i686-linux"];
|
|
|
|
|
supportedFeatures = [
|
|
|
|
|
"benchmark"
|
|
|
|
|
"big-parallel"
|
|
|
|
|
"gccarch-znver4"
|
|
|
|
|
"kvm"
|
|
|
|
|
"nixos-test"
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
nix.extraOptions = ''
|
|
|
|
|
builders-use-substitutes = true
|
|
|
|
|
'';
|
|
|
|
|
nix.distributedBuilds = true;
|
|
|
|
|
|
|
|
|
|
networking.hostName = "NObangers";
|
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
|
system.stateVersion = "23.11";
|
2025-05-22 16:14:59 -07:00
|
|
|
}
|