2023-12-30 23:53:21 +01:00
|
|
|
{ modulesPath, lib, nixos-hardware, ... }:
|
2023-08-14 17:10:54 +02:00
|
|
|
|
|
|
|
{
|
2023-12-30 23:53:21 +01:00
|
|
|
imports = [
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
nixos-hardware.nixosModules.raspberry-pi-4
|
|
|
|
];
|
2023-12-30 23:39:33 +01:00
|
|
|
|
|
|
|
boot = {
|
|
|
|
initrd = { availableKernelModules = [ "xhci_pci" ]; };
|
|
|
|
loader = { generic-extlinux-compatible.enable = true; };
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
2023-08-14 17:10:54 +02:00
|
|
|
|
2023-12-29 16:43:40 +01:00
|
|
|
jopejoe1 = {
|
2023-12-30 23:39:33 +01:00
|
|
|
audio.enable = true;
|
2023-12-29 16:43:40 +01:00
|
|
|
bluetooth.enable = true;
|
|
|
|
local.enable = true;
|
|
|
|
nix.enable = true;
|
2023-12-31 23:40:52 +01:00
|
|
|
kodi.enable = true;
|
2023-12-29 16:43:40 +01:00
|
|
|
root.enable = true;
|
2023-12-31 22:25:19 +01:00
|
|
|
jopejoe1.enable = true;
|
2023-12-29 16:43:40 +01:00
|
|
|
};
|
|
|
|
|
2023-12-30 23:39:33 +01:00
|
|
|
networking = {
|
|
|
|
hostName = "inugami";
|
|
|
|
useDHCP = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
config = "aarch64-unknown-linux-gnu";
|
2023-08-14 17:10:54 +02:00
|
|
|
};
|
|
|
|
|
2023-12-30 23:39:33 +01:00
|
|
|
powerManagement.cpuFreqGovernor = "ondemand";
|
2023-08-14 17:52:44 +02:00
|
|
|
|
|
|
|
programs = {
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
lfs.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2023-08-14 17:10:54 +02:00
|
|
|
}
|