Files
hearth/nixos/system/hectic-lab/default.nix
T
yukkop 50c4efc09b
runner nix smoke / nix label and flake smoke (push) Failing after 1m12s
gpt in affine
2026-11-01 11:21:28 +00:00

44 lines
1.0 KiB
Nix

{
flake,
self,
inputs,
system ? "x86_64-linux",
...
}: let
# Use folder name as name of this system
name = builtins.baseNameOf ./.;
in self.lib.nixpkgs-lib.nixosSystem {
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
self.overlays.default
(final: prev: {
python311 = prev.python311.overrideAttrs (old: {
passthru = old.passthru // {
doc = old.passthru.doc.overrideAttrs (oldDoc: {
patches = (oldDoc.patches or [ ]) ++ [
./python-docutils-0.22.patch
./python-sphinx9-glossary.patch
];
});
};
});
})
];
config.allowUnfreePredicate = pkg:
builtins.elem (inputs.nixpkgs.lib.getName pkg) [
"affine"
"affine-server-native"
"steamcmd"
"steam-unwrapped"
"p4d"
"p4"
];
};
modules = [
{ networking.hostName = name; }
(import ./${name}.nix { inherit flake self inputs; })
];
}