summaryrefslogtreecommitdiff
path: root/os/common/modules/nix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/modules/nix.nix')
-rw-r--r--os/common/modules/nix.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/os/common/modules/nix.nix b/os/common/modules/nix.nix
deleted file mode 100644
index 711ead4..0000000
--- a/os/common/modules/nix.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ config, ... }:
-let
- user = config.global.userdata.name;
-in
-{
- nix = {
- gc = {
- automatic = true;
- dates = "weekly";
- options = "--delete-older-than 30d";
- };
-
- settings = {
- auto-optimise-store = true;
- use-xdg-base-directories = true;
- trusted-users = [ user ];
-
- experimental-features = [
- "flakes"
- "nix-command"
- ];
-
- substituters = [
- "https://nixbin.sinanmohd.com"
- "https://nix-community.cachix.org"
- ];
- trusted-public-keys = [
- "nixbin.sinanmohd.com:dXV3KDPVrm+cGJ2M1ZmTeQJqFGaEapqiVoWHgYDh03k="
- "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
- ];
- };
- };
-}