flake.nix: use flakified yammat

This commit is contained in:
Astro 2021-03-10 01:54:28 +01:00
parent a84ccc0828
commit 1eb98b60ca
2 changed files with 12 additions and 7 deletions

View File

@ -71,13 +71,17 @@
}
},
"yammat": {
"flake": false,
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1615141664,
"narHash": "sha256-ezUUug0rovNVZEREQdIBtW+IB+CETUamuClrcD8T82E=",
"lastModified": 1615337615,
"narHash": "sha256-/3mai5komZ2YpKRQajuo5WXPbRg0iNm37btqY77A9HU=",
"ref": "nix",
"rev": "f476e773df3ba4976151d3e2fef44c5ea48bac85",
"revCount": 390,
"rev": "d91c4563aaa2d8718412b65b15fc6103b82a5a5d",
"revCount": 398,
"type": "git",
"url": "https://gitea.c3d2.de/astro/yammat.git"
},

View File

@ -5,7 +5,7 @@
nixpkgs.url = "github:nixos/nixpkgs/release-20.09";
secrets.url = "git+ssh://git@gitea.c3d2.de:2222/c3d2-admins/secrets.git";
yammat.url = "git+https://gitea.c3d2.de/astro/yammat.git?ref=nix";
yammat.flake = false;
yammat.inputs.nixpkgs.follows = "nixpkgs";
scrapers.url = "git+https://gitea.c3d2.de/astro/scrapers.git";
scrapers.flake = false;
};
@ -145,7 +145,8 @@
modules = [
./lib/lxc-container.nix
./hosts/containers/matemat
"${yammat}/nixos-module.nix"
secrets.nixosModules.admins
yammat.nixosModule
secrets.nixosModules.admins
({ ... }: {
nixpkgs.overlays = [ secrets.overlays.matemat ];