nix-conf/systems/inugami/default.nix

45 lines
963 B
Nix
Raw Normal View History

{ modulesPath, lib, nixos-hardware, ... }:
2023-08-14 17:10:54 +02: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;
2024-01-01 00:36:51 +01:00
plasma.enable = true;
2023-12-29 16:43:40 +01:00
root.enable = true;
2023-12-31 22:25:19 +01:00
jopejoe1.enable = true;
2024-01-11 00:19:11 +01:00
ssh.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:10:54 +02:00
}