Add NixOS modules

This commit is contained in:
clerie 2023-06-18 21:51:21 +02:00
parent 6825ba8156
commit 3519bdcec4
4 changed files with 374 additions and 0 deletions

View file

@ -100,7 +100,28 @@
pythonImportsCheck = [ "diffsync" ];
};
yate = pkgs.yate.overrideAttrs (old: {
configureFlags = [ "--with-libpq=${pkgs.postgresql.withPackages (ps: [ ])}" ];
});
};
nixosModules = {
fieldpoc = { ... }: {
imports = [
./nix/modules/dhcp.nix
./nix/modules/fieldpoc.nix
./nix/modules/yate.nix
];
nixpkgs.overlays = [
(_: _: {
inherit (self.packages."x86_64-linux")
fieldpoc
yate;
})
];
};
default = self.nixosModules.fieldpoc;
};
hydraJobs = {