From f549e56d541a9c725304444c98e58ed8789ee75f Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 15 Jun 2024 14:50:03 -0700 Subject: Remove current package list in /etc --- hosts/common/core/default.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'hosts/common/core/default.nix') diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix index 515cbd9..5e27580 100644 --- a/hosts/common/core/default.nix +++ b/hosts/common/core/default.nix @@ -1,4 +1,4 @@ -{ config, inputs, outputs, pkgs, ... }: { +{ inputs, outputs, pkgs, ... }: { imports = [ ./locale.nix ./nix.nix @@ -9,15 +9,6 @@ documentation.dev.enable = true; documentation.man.enable = true; - # generate a handy list of all currently installed packages with versions at /etc/current-system-packages - environment.etc."current-system-packages".text = - let - packages = builtins.map (p: "${p.name}") config.environment.systemPackages; - sortedUnique = builtins.sort builtins.lessThan (pkgs.lib.lists.unique packages); - formatted = builtins.concatStringsSep "\n" sortedUnique; - in - formatted; - environment.systemPackages = with pkgs; [ acl age -- cgit v1.2.3