mirror of
https://git.clerie.de/clerie/fieldpoc.git
synced 2026-01-03 06:18:12 +00:00
Add NixOS modules
This commit is contained in:
parent
6825ba8156
commit
3519bdcec4
4 changed files with 374 additions and 0 deletions
21
flake.nix
21
flake.nix
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue