From 48ea2837adff1483d6d5e8dd6f65611914ddda88 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 8 Dec 2024 14:59:03 -0800 Subject: more refactoring --- nix/hosts/common/nix.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 nix/hosts/common/nix.nix (limited to 'nix/hosts/common') 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 - ]; - }; -} -- cgit v1.2.3