summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-06-12 08:05:26 +0200
committerAlan Pearce2023-06-12 08:05:26 +0200
commitd9b117b368db8071057e5ca0bd23448e45a6d8b3 (patch)
tree077a04222f4bb3966e156d542dfd3b7c51e80d62
parent8ec65b0e00d9ac15bc21d14072d0142ad0e7d85d (diff)
downloadnixfiles-d9b117b368db8071057e5ca0bd23448e45a6d8b3.tar.lz
nixfiles-d9b117b368db8071057e5ca0bd23448e45a6d8b3.tar.zst
nixfiles-d9b117b368db8071057e5ca0bd23448e45a6d8b3.zip
Import private configuration on servers, as well
Split out SSH configuration for now as they have their own SSH configs
for unattended keys
-rw-r--r--flake.lock10
-rw-r--r--flake.nix12
m---------private0
3 files changed, 15 insertions, 7 deletions
diff --git a/flake.lock b/flake.lock
index 5a4ffaeb..34a9a879 100644
--- a/flake.lock
+++ b/flake.lock
@@ -141,11 +141,11 @@
     "secrets": {
       "flake": false,
       "locked": {
-        "lastModified": 1685251658,
-        "narHash": "sha256-7e9RYUShuGvQT1Z15/tFQzRsd7GJDBeWazL14G3IqqY=",
-        "ref": "5fe9ee76eb7096fbab817d3fc1942f0840e4b72e",
-        "rev": "5fe9ee76eb7096fbab817d3fc1942f0840e4b72e",
-        "revCount": 46,
+        "lastModified": 1686549813,
+        "narHash": "sha256-PUlxkCDkEHFEI1kKoL3Hqyt0uGJAn02SfZ0d3iVXpMw=",
+        "ref": "refs/heads/main",
+        "rev": "c12bb9e097a58e53f0b7bb517e0973a34dce0ac6",
+        "revCount": 47,
         "type": "git",
         "url": "file:///home/alan/projects/alanpearce.eu/nixfiles/private"
       },
diff --git a/flake.nix b/flake.nix
index 35b8f515..7abecbd5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -46,6 +46,7 @@
         modules = [
           ./user/mba.nix
           (secrets + "/default.nix")
+          (secrets + "/ssh.nix")
           ({ nixpkgs.overlays = [ emacs-overlay.overlay ]; })
         ];
       };
@@ -54,16 +55,23 @@
         modules = [
           ./user/prefect.nix
           (secrets + "/default.nix")
+          (secrets + "/ssh.nix")
           ({ nixpkgs.overlays = [ emacs-overlay.overlay ]; })
         ];
       };
       homeConfigurations."alan@nanopi" = home-manager.lib.homeManagerConfiguration {
         pkgs = aarch64LinuxPackages;
-        modules = [ ./user/nanopi.nix ];
+        modules = [
+          ./user/nanopi.nix
+          (secrets + "/default.nix")
+        ];
       };
       homeConfigurations."alan@pappel" = home-manager.lib.homeManagerConfiguration {
         pkgs = nixosPkgs;
-        modules = [ ./user/server.nix ];
+        modules = [
+          ./user/server.nix
+          (secrets + "/default.nix")
+        ];
       };
     };
 }
diff --git a/private b/private
-Subproject 5fe9ee76eb7096fbab817d3fc1942f0840e4b72
+Subproject c12bb9e097a58e53f0b7bb517e0973a34dce0ac