nix-conf/systems/sukuna-biko-na/default.nix

50 lines
878 B
Nix
Raw Permalink Normal View History

2024-07-10 23:02:54 +02:00
{
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 = {
2024-07-10 23:02:54 +02:00
initrd = {
availableKernelModules = [ "xhci_pci" ];
};
loader = {
generic-extlinux-compatible.enable = true;
};
2023-12-30 23:39:33 +01:00
};
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
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;
2024-07-12 21:38:33 +02:00
gui.enable = true;
2024-01-13 18:01:23 +01:00
user = {
jopejoe1.enable = true;
root.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 = {
useDHCP = lib.mkDefault true;
};
powerManagement.cpuFreqGovernor = "ondemand";
2023-08-14 17:10:54 +02:00
}