summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/nix.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/user/settings/nix.nix b/user/settings/nix.nix
index ec69d51f..702e2ebd 100644
--- a/user/settings/nix.nix
+++ b/user/settings/nix.nix
@@ -1,7 +1,11 @@
 { config
 , pkgs
 , ...
-}: {
+}:
+let
+  toml = pkgs.formats.toml { };
+in
+{
   imports = [
     ../../pin.nix
   ];
@@ -12,6 +16,10 @@
     nix-init
     nixpkgs-fmt
   ];
+  xdg.configFile."nix-init/config.toml".source = toml.generate "config.toml" {
+    maintainers = [ "alanpearce" ];
+    nixpkgs = "builtins.getFlake \"nixpkgs\"";
+  };
   nixpkgs.overlays = [
     (import ../overlays/extra-packages.nix)
   ];