aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--share/system/common.nix (renamed from share/nixos-modules/nix-config.nix)2
2 files changed, 3 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 04d38cd..941a67e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -64,7 +64,7 @@
inputs.home-manager.nixosModules.home-manager
inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko
- ./share/nixos-modules/nix-config.nix
+ ./share/system/common.nix
# This directory has to exist and have a `default.nix` in it, see
# `./hosts` directory for examples
diff --git a/share/nixos-modules/nix-config.nix b/share/system/common.nix
index 8000871..909b801 100644
--- a/share/nixos-modules/nix-config.nix
+++ b/share/system/common.nix
@@ -1,3 +1,5 @@
+# Common system settings shared across every machine
+# Used mostly for adding substituters and such
{ inputs, ... }: {
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];