aboutsummaryrefslogtreecommitdiff
path: root/nix/hosts/common/nix.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nix/hosts/common/nix.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/nix/hosts/common/nix.nix b/nix/hosts/common/nix.nix
deleted file mode 100644
index 2ef6b48..0000000
--- a/nix/hosts/common/nix.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ pkgs, ... }: {
- nix = {
- package = pkgs.nixVersions.stable;
-
- gc = {
- user = "root";
- automatic = true;
- interval = [{
- Hour = 7;
- Minute = 0;
- Weekday = 0;
- }];
- options = "--delete-older-than 7d";
- };
-
- settings = {
- trusted-users = [ "@admin" "fcuny" ];
- experimental-features = [ "nix-command" "flakes" ];
- };
- };
-
- nixpkgs.config = {
- allowUnfree = true;
- permittedInsecurePackages = [
- "nix-2.16.2" # FIXME https://github.com/nix-community/nixd/issues/357
- ];
- };
-}