summaryrefslogtreecommitdiff
path: root/nixos/modules/system/nix
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-08-16 21:55:33 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-08-16 21:55:33 +0700
commit7dd785b1005aec643004c06eaa7af690b00cb48f (patch)
treebd8700ef4dfb8c0a1315f4eb41784d1d4ba43001 /nixos/modules/system/nix
parent100094fe8b9398c083fa6351925a00f5b3a9d36a (diff)
.
Diffstat (limited to 'nixos/modules/system/nix')
-rw-r--r--nixos/modules/system/nix/default.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/nixos/modules/system/nix/default.nix b/nixos/modules/system/nix/default.nix
deleted file mode 100644
index a02cb6f..0000000
--- a/nixos/modules/system/nix/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ config, pkgs, lib, inputs, ... }:
-
-{
- # Nix itself: enable the flake + nix-command features this config relies on.
- nix.settings.experimental-features = [ "nix-command" "flakes" ];
- nixpkgs.config = {
- allowUnfree = true;
- permittedInsecurePackages = [
- "electron-39.8.10"
- ];
- };
-
- # Automatic garbage collection — drop builds older than a week.
- nix.gc = {
- automatic = true;
- dates = "weekly";
- options = "--delete-older-than 7d";
- };
-
- # envfs is the modern replacement for nix-ld: it mounts a FUSE filesystem
- # on /usr/bin and /bin that resolves shebangs (e.g. #!/usr/bin/env) to the
- # executables on the caller's PATH. It supersedes programs.nix-ld entirely.
- services.envfs.enable = true;
- security.polkit.enable = true;
-
- environment.variables = {
- SSL_CERT_FILE = "/etc/ssl/certs/ca-certificates.crt";
- NIX_SSL_CERT_FILE = "/etc/ssl/certs/ca-certificates.crt";
- };
-} \ No newline at end of file