From c002741419f2074a91b3953b750c0a74c2f5083a Mon Sep 17 00:00:00 2001 From: hektor Date: Mon, 23 Feb 2026 19:26:22 +0100 Subject: [PATCH] fix: remove default packages --- modules/common/default.nix | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/modules/common/default.nix b/modules/common/default.nix index 531ef8f..dd9c368 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -22,22 +22,6 @@ in config = { system.stateVersion = "25.05"; - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; - - nixpkgs.config.allowUnfreePredicate = - pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowedUnfree; - - home-manager = { - useGlobalPkgs = true; - useUserPackages = true; - extraSpecialArgs = { - inherit inputs outputs dotsPath; - }; - }; - nix = { optimise = { automatic = true; @@ -48,6 +32,10 @@ in dates = "weekly"; options = "--delete-older-than 30d"; }; + settings.experimental-features = [ + "nix-command" + "flakes" + ]; }; system.autoUpgrade = { @@ -62,5 +50,18 @@ in randomizedDelaySec = "45min"; allowReboot = false; }; + + nixpkgs.config.allowUnfreePredicate = + pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowedUnfree; + + environment.defaultPackages = lib.mkForce [ ]; + + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + extraSpecialArgs = { + inherit inputs outputs dotsPath; + }; + }; }; }