use cluster-modules use flakes now

This commit is contained in:
Ingolf Wagner 2021-11-01 19:29:39 +01:00
parent 4d53abe9c3
commit 95d70d5225
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 11 additions and 14 deletions

View file

@ -1,20 +1,18 @@
{
"nodes": {
"cluster-module": {
"flake": false,
"locked": {
"lastModified": 1537379100,
"narHash": "sha256-TcZfK3thYq65S7mHC0jyc2ELVq8Ue8Enuj4iU4L9fTI=",
"ref": "master",
"rev": "ef621797a30f8a57de16bf33672abdd411cbcece",
"revCount": 8,
"type": "git",
"url": "https://git.ingolf-wagner.de/nix-modules/cluster.git"
"lastModified": 1635790675,
"narHash": "sha256-hWwS/sX46dEIw+swRfB8KZq0T/gDpryswTkZy5n0BAc=",
"owner": "mrvandalo",
"repo": "module.cluster",
"rev": "299f5e9f4d9faa2abce40ae853601e11eecd7383",
"type": "github"
},
"original": {
"rev": "ef621797a30f8a57de16bf33672abdd411cbcece",
"type": "git",
"url": "https://git.ingolf-wagner.de/nix-modules/cluster.git"
"owner": "mrvandalo",
"repo": "module.cluster",
"type": "github"
}
},
"doom-emacs": {

View file

@ -21,8 +21,7 @@
inputs.home-manager.follows = "home-manager";
};
cluster-module = {
url = "git+https://git.ingolf-wagner.de/nix-modules/cluster.git?rev=ef621797a30f8a57de16bf33672abdd411cbcece";
flake = false;
url = "github:mrvandalo/module.cluster";
};
nixpkgs-fmt = {
url = "github:nix-community/nixpkgs-fmt";
@ -48,7 +47,7 @@
nixosSystem = nixpkgs.lib.nixosSystem;
defaultModules = [
sops-nix.nixosModules.sops
{ imports = [ "${cluster-module}" ]; }
cluster-module.nixosModules.tinc
({ pkgs, ... }: {
nix = {
# no channesl needed this way