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

View File

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