nix-conf/systems/inugami/default.nix

45 lines
879 B
Nix
Raw Normal View History

2023-12-30 23:39:33 +01:00
{ modulesPath, lib, ... }:
2023-08-14 17:10:54 +02:00
{
2023-12-30 23:39:33 +01:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
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;
root.enable = true;
};
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
}