aboutsummaryrefslogtreecommitdiff
path: root/share/system/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/system/common.nix')
-rw-r--r--share/system/common.nix26
1 files changed, 20 insertions, 6 deletions
diff --git a/share/system/common.nix b/share/system/common.nix
index a785573..ab2b6b4 100644
--- a/share/system/common.nix
+++ b/share/system/common.nix
@@ -2,11 +2,25 @@
# Used mostly for adding substituters and such
{ ... }:
{
- nix.settings = {
- experimental-features = [
- "nix-command"
- "flakes"
- ];
- auto-optimise-store = true;
+ nix = {
+ settings = {
+ experimental-features = [
+ "nix-command"
+ "flakes"
+ ];
+ auto-optimise-store = true;
+ };
+ registry = {
+ "templates" = {
+ from = {
+ type = "indirect";
+ id = "templates";
+ };
+ to = {
+ type = "git";
+ url = "https://codeberg.org/miranb/nix-templates";
+ };
+ };
+ };
};
}