From 92514e08c37b107a09801f05837eb8d93ac5aec5 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 17 Nov 2024 00:16:55 +0100 Subject: [PATCH] Remove some default packages --- home-manager/default.nix | 3 +-- machines/sue/home.nix | 2 ++ nixos/cinnamon.nix | 5 +++++ nixos/default.nix | 5 ++++- nixos/gnome.nix | 1 - 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/home-manager/default.nix b/home-manager/default.nix index b0a5821..2010d83 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -99,7 +99,6 @@ programs = { home-manager.enable = true; - chromium.enable = true; bat.enable = true; git.delta = { @@ -226,7 +225,7 @@ }; }; - # Currently, it is not possible to have Home Manager manage Liberwolf extensions. + # Currently, it is not possible to have Home Manager manage Librewolf extensions. # There is a draft PR which addresses this: # https://github.com/nix-community/home-manager/pull/3339 # The extensions I currently use are: diff --git a/machines/sue/home.nix b/machines/sue/home.nix index 1608b6e..317ad57 100644 --- a/machines/sue/home.nix +++ b/machines/sue/home.nix @@ -10,6 +10,8 @@ sops.enable = true; }; + programs.chromium.enable = true; + home.packages = (with pkgs; [ jellyfin-media-player diff --git a/nixos/cinnamon.nix b/nixos/cinnamon.nix index 62235d6..85178de 100644 --- a/nixos/cinnamon.nix +++ b/nixos/cinnamon.nix @@ -1,4 +1,5 @@ { + pkgs, config, lib, ... @@ -15,5 +16,9 @@ in { displayManager.lightdm.enable = true; }; }; + + environment.cinnamon.excludePackages = with pkgs; [ + gnome.gnome-terminal + ]; }; } diff --git a/nixos/default.nix b/nixos/default.nix index 406ed4d..554bb27 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -34,7 +34,10 @@ hardware.pulseaudio.enable = false; services = { - xserver.enable = true; + xserver = { + enable = true; + excludePackages = [pkgs.xterm]; + }; tailscale = { useRoutingFeatures = "client"; diff --git a/nixos/gnome.nix b/nixos/gnome.nix index 8725e41..72ed9a5 100644 --- a/nixos/gnome.nix +++ b/nixos/gnome.nix @@ -15,7 +15,6 @@ in { xserver = { desktopManager.gnome.enable = true; displayManager.gdm.enable = true; - excludePackages = [pkgs.xterm]; }; };