about summary refs log tree commit diff stats
path: root/nix-conf/home/includes/common.nix
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-07 16:58:36 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-07 16:58:36 +0100
commit1e5f22a7fafdfb9c1928b03c7b4ce0e935ad6fcb (patch)
tree14222137647e633b255206d5eb70d44e8bdada19 /nix-conf/home/includes/common.nix
parent0a7b9c85ae33fb40ad57c855f45eebcae4dbb98b (diff)
downloaddotfiles-1e5f22a7fafdfb9c1928b03c7b4ce0e935ad6fcb.tar.gz
Re-order config
Diffstat (limited to 'nix-conf/home/includes/common.nix')
-rw-r--r--nix-conf/home/includes/common.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index 9d76f5b..7ae5c41 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -18,6 +18,16 @@ in
   nixpkgs.config.allowUnfreePredicate =
     pkg: builtins.elem (lib.getName pkg) [ "aspell-dict-en-science" ];
 
+  nix = {
+    package = pkgs.nix;
+    settings = {
+      extra-experimental-features = [
+        "nix-command"
+        "flakes"
+      ];
+    };
+  };
+
   sops = {
     age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";
     defaultSopsFile = builtins.path {
@@ -110,15 +120,6 @@ in
     };
   };
 
-  nix = {
-    package = pkgs.nix;
-    settings = {
-      extra-experimental-features = [
-        "nix-command"
-        "flakes"
-      ];
-    };
-  };
 
   programs.gpg.enable = true;
   programs.nix-index = {