This commit is contained in:
mjallen18
2025-10-22 19:10:44 -05:00
parent 6b6cf3eee1
commit ee486f52bb
15 changed files with 52 additions and 36 deletions

View File

@@ -1,4 +1,7 @@
{ pkgs, lib, ... }:
{ config, pkgs, lib, namespace, ... }:
let
hasDestopEnvironment = config.${namespace}.desktop.cosmic.enable || config.${namespace}.desktop.gnome.enable || config.${namespace}.desktop.hyprland.enable;
in
{
programs = {
zsh.enable = lib.mkDefault true;
@@ -13,7 +16,7 @@
};
nix-ld = {
enable = lib.mkDefault true;
enable = lib.mkDefault hasDestopEnvironment;
libraries = with pkgs; [
alsa-lib
bash
@@ -62,7 +65,7 @@
libgbm
];
};
seahorse.enable = lib.mkDefault true;
seahorse.enable = lib.mkDefault hasDestopEnvironment;
};
environment = {
systemPackages = with pkgs; [