xin/hosts/retic/default.nix

57 lines
1.0 KiB
Nix
Raw Normal View History

2024-09-29 14:52:36 -06:00
{ pkgs
, ...
}:
let
checkKillAll = p: (_: super: {
"${p}" = super."${p}".overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
checkPhase = "";
});
});
checkKill = p: (_: super: {
"${p}" = super."${p}".overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
2024-10-02 06:59:57 -06:00
checkPhase = "";
});
});
in
2024-09-29 14:52:36 -06:00
{
2024-10-01 07:43:56 -06:00
_module.args.isUnstable = false;
2024-09-29 14:52:36 -06:00
imports = [
./hardware-configuration.nix
];
nixpkgs.overlays = [
(checkKill "boehmgc")
(checkKill "libuv")
(checkKillAll "llvm")
(checkKill "elfutils")
];
myEmacs.enable = false;
2024-09-29 14:52:36 -06:00
boot = {
initrd.availableKernelModules = [ "usbhid" "usb_storage" "vc4" ];
kernelPackages = pkgs.linuxPackages;
loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
};
networking = {
hostName = "retic";
};
preDNS.enable = false;
2024-09-29 14:52:36 -06:00
environment.systemPackages = with pkgs; [
python3Packages.rns
python3Packages.nomadnet
];
system.stateVersion = "24.05";
}