From 369f0f4a73f40807be2b44f9645a9a9b756232ce Mon Sep 17 00:00:00 2001 From: Anish L Date: Mon, 11 Jul 2022 15:53:33 +1000 Subject: [PATCH] add dhyan to box deployment --- flake.lock | 8 ++++---- flake.nix | 5 ++++- hosts/box/default.nix | 2 ++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 3a6ad584..1464b6a3 100644 --- a/flake.lock +++ b/flake.lock @@ -31,11 +31,11 @@ ] }, "locked": { - "lastModified": 1657512839, - "narHash": "sha256-Nb9XKrggFteECqya17G58Gga2mQRxaxDVh+peye5/g8=", + "lastModified": 1657514455, + "narHash": "sha256-rYrofeCRgZyiZMuuwbwbM7ZLNTj04S0l4G/1ZeH0gqI=", "ref": "main", - "rev": "a2935a5251775fe883005e12137348e06c4de716", - "revCount": 63, + "rev": "50f7ee786d9704ecfd67a9fe2eb8f338fc983dc1", + "revCount": 64, "type": "git", "url": "ssh://gitea@git.sealight.xyz/aynish/basant" }, diff --git a/flake.nix b/flake.nix index d4a92af5..963b8318 100644 --- a/flake.nix +++ b/flake.nix @@ -30,8 +30,11 @@ basant.url = "git+ssh://gitea@git.sealight.xyz/aynish/basant?ref=main"; basant.inputs.nixpkgs.follows = "nixos"; basant.inputs.poonam.follows = "poonam"; + dhyan.url = "git+ssh://gitea@git.sealight.xyz/aynish/dhyan?ref=main"; + dhyan.inputs.nixpkgs.follows = "nixos"; grasp.url = "git+ssh://gitea@git.sealight.xyz/aynish/grasp.git?ref=main"; grasp.inputs.nixpkgs.follows = "nixos"; + # TODO hundred rabbits software tidalcycles.url = "github:mitchmindtree/tidalcycles.nix"; tidalcycles.inputs.nixpkgs.follows = "latest"; }; @@ -111,7 +114,7 @@ modules = [ basant.nixosModule ]; }; box = { - modules = [ grasp.nixosModule ]; + modules = [ grasp.nixosModule dhyan.nixosModule ]; }; # helix = { }; # work = { }; diff --git a/hosts/box/default.nix b/hosts/box/default.nix index f4884ee7..6a608970 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -14,6 +14,8 @@ services."grasp".path = "/home/anish/kitaab/grasp"; services."grasp".user = "anish"; + services.mossnet.dhyan.enable = true; + # Backups age.secrets.borg-password.file = "${self}/secrets/borg-password.age"; services.postgresqlBackup = {