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
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 11 additions and 14 deletions

View file

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

View file

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