aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-06-15 14:50:03 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-06-15 14:50:03 -0700
commitf549e56d541a9c725304444c98e58ed8789ee75f (patch)
tree6d1044eafef142f3ba7dd03c7c7b5c6d349bf786 /hosts/common
parentfc9f785942e65e09fd64da1060b1811409a8d623 (diff)
downloadnix-f549e56d541a9c725304444c98e58ed8789ee75f.tar
nix-f549e56d541a9c725304444c98e58ed8789ee75f.tar.gz
nix-f549e56d541a9c725304444c98e58ed8789ee75f.tar.bz2
nix-f549e56d541a9c725304444c98e58ed8789ee75f.tar.lz
nix-f549e56d541a9c725304444c98e58ed8789ee75f.tar.xz
nix-f549e56d541a9c725304444c98e58ed8789ee75f.tar.zst
nix-f549e56d541a9c725304444c98e58ed8789ee75f.zip
Remove current package list in /etc
Diffstat (limited to 'hosts/common')
-rw-r--r--hosts/common/core/default.nix11
1 files changed, 1 insertions, 10 deletions
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