aboutsummaryrefslogtreecommitdiffstats
path: root/flake
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-09 12:59:18 +0200
committerene <ene@sils.li>2023-04-09 14:11:01 +0200
commit8af97609c6596f62780745a0e4b7c12c520946e5 (patch)
treec4629f5d0c429d011c0fb70ed52b9e75c136027a /flake
parentFix(hm/conf/mail): Remove soispha's name completely (diff)
downloadnixos-config-8af97609c6596f62780745a0e4b7c12c520946e5.zip
Fix(secrets): Secrets now work
Diffstat (limited to '')
-rw-r--r--flake.lock151
-rw-r--r--flake.nix7
-rw-r--r--flake/nixosConfigurations/default.nix10
3 files changed, 141 insertions, 27 deletions
diff --git a/flake.lock b/flake.lock
index 92017507..6f8b9635 100644
--- a/flake.lock
+++ b/flake.lock
@@ -21,6 +21,28 @@
"type": "github"
}
},
+ "agenix_2": {
+ "inputs": {
+ "darwin": "darwin_2",
+ "nixpkgs": [
+ "ragenix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1677126346,
+ "narHash": "sha256-4s+PPGC1M07QsPyeye5drc2JLa1lhDnCV3XAsG8+pH4=",
+ "owner": "ryantm",
+ "repo": "agenix",
+ "rev": "c2a71c83c70844c5e31db69347e86af080bcdad0",
+ "type": "github"
+ },
+ "original": {
+ "owner": "ryantm",
+ "repo": "agenix",
+ "type": "github"
+ }
+ },
"crane": {
"inputs": {
"flake-compat": "flake-compat",
@@ -48,12 +70,12 @@
"crane_2": {
"inputs": {
"flake-compat": "flake-compat_2",
- "flake-utils": "flake-utils_3",
+ "flake-utils": "flake-utils_4",
"nixpkgs": [
"river_init_lesser",
"nixpkgs"
],
- "rust-overlay": "rust-overlay_3"
+ "rust-overlay": "rust-overlay_4"
},
"locked": {
"lastModified": 1676846788,
@@ -72,12 +94,12 @@
"crane_3": {
"inputs": {
"flake-compat": "flake-compat_3",
- "flake-utils": "flake-utils_5",
+ "flake-utils": "flake-utils_6",
"nixpkgs": [
"strip_js_comments",
"nixpkgs"
],
- "rust-overlay": "rust-overlay_4"
+ "rust-overlay": "rust-overlay_5"
},
"locked": {
"lastModified": 1675902425,
@@ -96,12 +118,12 @@
"crane_4": {
"inputs": {
"flake-compat": "flake-compat_4",
- "flake-utils": "flake-utils_7",
+ "flake-utils": "flake-utils_8",
"nixpkgs": [
"yambar_cpu",
"nixpkgs"
],
- "rust-overlay": "rust-overlay_5"
+ "rust-overlay": "rust-overlay_6"
},
"locked": {
"lastModified": 1677892403,
@@ -120,12 +142,12 @@
"crane_5": {
"inputs": {
"flake-compat": "flake-compat_5",
- "flake-utils": "flake-utils_9",
+ "flake-utils": "flake-utils_10",
"nixpkgs": [
"yambar_memory",
"nixpkgs"
],
- "rust-overlay": "rust-overlay_6"
+ "rust-overlay": "rust-overlay_7"
},
"locked": {
"lastModified": 1677642623,
@@ -163,6 +185,29 @@
"type": "github"
}
},
+ "darwin_2": {
+ "inputs": {
+ "nixpkgs": [
+ "ragenix",
+ "agenix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1673295039,
+ "narHash": "sha256-AsdYgE8/GPwcelGgrntlijMg4t3hLFJFCRF3tL5WVjA=",
+ "owner": "lnl7",
+ "repo": "nix-darwin",
+ "rev": "87b9d090ad39b25b2400029c64825fc2a8868943",
+ "type": "github"
+ },
+ "original": {
+ "owner": "lnl7",
+ "ref": "master",
+ "repo": "nix-darwin",
+ "type": "github"
+ }
+ },
"flake-compat": {
"flake": false,
"locked": {
@@ -273,6 +318,21 @@
"type": "github"
}
},
+ "flake-utils_11": {
+ "locked": {
+ "lastModified": 1676283394,
+ "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"flake-utils_2": {
"locked": {
"lastModified": 1676283394,
@@ -320,11 +380,11 @@
},
"flake-utils_5": {
"locked": {
- "lastModified": 1667395993,
- "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
+ "lastModified": 1676283394,
+ "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
+ "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github"
},
"original": {
@@ -350,11 +410,11 @@
},
"flake-utils_7": {
"locked": {
- "lastModified": 1676283394,
- "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
+ "lastModified": 1667395993,
+ "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
+ "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
@@ -485,10 +545,33 @@
"type": "github"
}
},
+ "ragenix": {
+ "inputs": {
+ "agenix": "agenix_2",
+ "flake-utils": "flake-utils_3",
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "rust-overlay": "rust-overlay_3"
+ },
+ "locked": {
+ "lastModified": 1677625082,
+ "narHash": "sha256-62xmRPfjZgDn8AgEhb6eRoJrTxGeM8HfhfF+PkJokok=",
+ "owner": "yaxitech",
+ "repo": "ragenix",
+ "rev": "6f2dacf3d6af36228a8fad3b136990a6b6dfe30b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "yaxitech",
+ "repo": "ragenix",
+ "type": "github"
+ }
+ },
"river_init_lesser": {
"inputs": {
"crane": "crane_2",
- "flake-utils": "flake-utils_4",
+ "flake-utils": "flake-utils_5",
"nixpkgs": [
"nixpkgs"
]
@@ -515,6 +598,7 @@
"impermanence": "impermanence",
"neovim_config": "neovim_config",
"nixpkgs": "nixpkgs",
+ "ragenix": "ragenix",
"river_init_lesser": "river_init_lesser",
"shell-library": "shell-library",
"snap-sync": "snap-sync",
@@ -580,6 +664,31 @@
"rust-overlay_3": {
"inputs": {
"flake-utils": [
+ "ragenix",
+ "flake-utils"
+ ],
+ "nixpkgs": [
+ "ragenix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1676687290,
+ "narHash": "sha256-DP0CJ7qtUXf+mmMglJL1yANizzV1O4UfQ9NrKgy7O04=",
+ "owner": "oxalica",
+ "repo": "rust-overlay",
+ "rev": "bdccd5e973d45159f7d13f7c65a4271dc02cf6d4",
+ "type": "github"
+ },
+ "original": {
+ "owner": "oxalica",
+ "repo": "rust-overlay",
+ "type": "github"
+ }
+ },
+ "rust-overlay_4": {
+ "inputs": {
+ "flake-utils": [
"river_init_lesser",
"crane",
"flake-utils"
@@ -604,7 +713,7 @@
"type": "github"
}
},
- "rust-overlay_4": {
+ "rust-overlay_5": {
"inputs": {
"flake-utils": [
"strip_js_comments",
@@ -631,7 +740,7 @@
"type": "github"
}
},
- "rust-overlay_5": {
+ "rust-overlay_6": {
"inputs": {
"flake-utils": [
"yambar_cpu",
@@ -658,7 +767,7 @@
"type": "github"
}
},
- "rust-overlay_6": {
+ "rust-overlay_7": {
"inputs": {
"flake-utils": [
"yambar_memory",
@@ -720,7 +829,7 @@
"strip_js_comments": {
"inputs": {
"crane": "crane_3",
- "flake-utils": "flake-utils_6",
+ "flake-utils": "flake-utils_7",
"nixpkgs": [
"nixpkgs"
],
@@ -805,7 +914,7 @@
"yambar_cpu": {
"inputs": {
"crane": "crane_4",
- "flake-utils": "flake-utils_8",
+ "flake-utils": "flake-utils_9",
"nixpkgs": [
"nixpkgs"
]
@@ -827,7 +936,7 @@
"yambar_memory": {
"inputs": {
"crane": "crane_5",
- "flake-utils": "flake-utils_10",
+ "flake-utils": "flake-utils_11",
"nixpkgs": [
"nixpkgs"
]
diff --git a/flake.nix b/flake.nix
index 959eb8ed..e7906724 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,6 +13,10 @@
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
+ ragenix = {
+ url = "github:yaxitech/ragenix";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
impermanence = {
url = "github:nix-community/impermanence";
};
@@ -89,7 +93,6 @@
"steam"
"steam-original"
];
-
inherit system;
};
in {
@@ -145,7 +148,7 @@
};
devShells."${system}" = {
default = pkgs.mkShell {
- packages = with pkgs; [nil alejandra statix];
+ packages = with pkgs; [nil alejandra statix inputs.ragenix.packages."${system}".default];
};
};
};
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index ccd71e7b..b8242a64 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -17,14 +17,14 @@
pkgs
sysLib
# extra information
-
+
system
;
inherit
(inputs)
# bins
-
+
yambar_cpu
yambar_memory
strip_js_comments
@@ -32,19 +32,21 @@
grades
shell-library
# external deps
-
+
user_js
neovim_config
snap-sync
# modules
-
+
impermanence
;
};
};
};
+ ageConfig = import ../../secrets;
defaultModules = [
inputs.agenix.nixosModules.default
+ ageConfig
# inputs.home-manager.nixosModules.home-manager
(import "${inputs.home-manager}/nixos")