From f4f85b119df35dd363289d9b2b33a5d02bec692b Mon Sep 17 00:00:00 2001 From: pazpi Date: Fri, 16 Aug 2024 18:18:52 +0200 Subject: [PATCH] test with colmena --- flake.lock | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++- flake.nix | 27 ++++++++++++++++-- 2 files changed, 107 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index eb08eeb..60e7078 100644 --- a/flake.lock +++ b/flake.lock @@ -1,6 +1,72 @@ { "nodes": { + "agenix": { + "inputs": { + "darwin": "darwin", + "home-manager": "home-manager", + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1723293904, + "narHash": "sha256-b+uqzj+Wa6xgMS9aNbX4I+sXeb5biPDi39VgvSFqFvU=", + "owner": "ryantm", + "repo": "agenix", + "rev": "f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41", + "type": "github" + }, + "original": { + "owner": "ryantm", + "repo": "agenix", + "type": "github" + } + }, + "darwin": { + "inputs": { + "nixpkgs": [ + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1700795494, + "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=", + "owner": "lnl7", + "repo": "nix-darwin", + "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d", + "type": "github" + }, + "original": { + "owner": "lnl7", + "ref": "master", + "repo": "nix-darwin", + "type": "github" + } + }, "home-manager": { + "inputs": { + "nixpkgs": [ + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1703113217, + "narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { "inputs": { "nixpkgs": [ "nixpkgs" @@ -71,11 +137,27 @@ }, "root": { "inputs": { - "home-manager": "home-manager", + "agenix": "agenix", + "home-manager": "home-manager_2", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index f6edaa1..48bd3db 100644 --- a/flake.nix +++ b/flake.nix @@ -34,17 +34,38 @@ nixpkgs = import nixpkgs { inherit system; overlays = [ ]; + + # modules = [ + # ./modules + + # ]; + + }; }; - childnixos = { + # childnixos = { + # deployment = { + # targetHost = "10.233.244.63"; + # targetPort = 22; + # targetUser = "root"; + # }; + + # imports = [ ./lxc-nix/configuration.nix ]; + # }; + + arr = { deployment = { - targetHost = "10.233.244.63"; + targetHost = "192.168.1.189"; targetPort = 22; targetUser = "root"; }; - imports = [ ./lxc-nix/configuration.nix ]; + imports = [ + + ./modules + ./hosts/arr + ]; }; # deadbeef = {