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.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/share/system/common.nix b/share/system/common.nix
new file mode 100644
index 0000000..909b801
--- /dev/null
+++ b/share/system/common.nix
@@ -0,0 +1,21 @@
+# Common system settings shared across every machine
+# Used mostly for adding substituters and such
+{ inputs, ... }: {
+ nix.settings = {
+ experimental-features = [ "nix-command" "flakes" ];
+ auto-optimise-store = true;
+
+ extra-substituters = [
+ "https://hyprland.cachix.org"
+ "https://nix-community.cachix.org"
+ ];
+ extra-trusted-public-keys = [
+ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
+ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
+ ];
+ };
+ nixpkgs.overlays = [
+ inputs.hyprland.overlays.default
+ inputs.emacs-overlay.overlays.default
+ ];
+}