aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock21
-rw-r--r--flake.nix5
-rw-r--r--lib/default.nix1
3 files changed, 27 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index ad28d95..108c6ef 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,25 @@
{
"nodes": {
+ "agenix": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1643841757,
+ "narHash": "sha256-9tKhu4JzoZvustC9IEWK6wKcDhPLuK/ICbLgm8QnLnk=",
+ "owner": "ryantm",
+ "repo": "agenix",
+ "rev": "a17d1f30550260f8b45764ddbd0391f4b1ed714a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "ryantm",
+ "repo": "agenix",
+ "type": "github"
+ }
+ },
"emacs-overlay": {
"locked": {
"lastModified": 1644776495,
@@ -70,6 +90,7 @@
},
"root": {
"inputs": {
+ "agenix": "agenix",
"emacs-overlay": "emacs-overlay",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
diff --git a/flake.nix b/flake.nix
index 48f63a4..76e08ba 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,6 +12,11 @@
emacs-overlay.url = "github:nix-community/emacs-overlay";
+ agenix = {
+ url = "github:ryantm/agenix";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
home-manager = {
url = "github:nix-community/home-manager/release-21.11";
# We want home-manager to use the same set of nixpkgs as our system.
diff --git a/lib/default.nix b/lib/default.nix
index cb8616e..c2866c9 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -11,6 +11,7 @@
inherit inputs system hostname;
};
modules = [
+ inputs.agenix.nixosModules.age
../hosts/common
../hosts/${hostname}
{