fix: Linux packages were being ignored

This commit is contained in:
uttarayan21
2025-02-05 17:42:08 +05:30
parent 9c8d29ed8d
commit e6037d27d3
3 changed files with 7 additions and 14 deletions

View File

@@ -12,6 +12,7 @@
./ironbar ./ironbar
./foot.nix ./foot.nix
./mpd.nix ./mpd.nix
./gui.nix
]); ]);
services.kdeconnect.enable = device.hasGui; services.kdeconnect.enable = device.hasGui;

View File

@@ -4,7 +4,7 @@
... ...
}: { }: {
gtk = { gtk = {
enable = device.hasGui; enable = true;
theme = { theme = {
name = "catppuccin-mocha-mauve-standard+normal"; name = "catppuccin-mocha-mauve-standard+normal";
package = pkgs.adwaita-icon-theme; package = pkgs.adwaita-icon-theme;
@@ -32,4 +32,8 @@
gtk3.extraConfig = {gtk-application-prefer-dark-theme = 1;}; gtk3.extraConfig = {gtk-application-prefer-dark-theme = 1;};
gtk4.extraConfig = {gtk-application-prefer-dark-theme = 1;}; gtk4.extraConfig = {gtk-application-prefer-dark-theme = 1;};
}; };
home.packages = [
pkgs.catppuccinThemes.gtk
pkgs.catppuccinThemes.papirus-folders
];
} }

View File

@@ -20,23 +20,13 @@ lib.attrsets.optionalAttrs device.hasGui {
WantedBy = ["graphical-session.target"]; WantedBy = ["graphical-session.target"];
}; };
}; };
imports = [
./kitty.nix
./firefox.nix
./ghostty.nix
./cursor.nix
./vscodium.nix
./wezterm.nix
];
home.packages = with pkgs; home.packages = with pkgs;
[] []
++ lib.optionals pkgs.stdenv.isLinux [ ++ lib.optionals device.hasGui [
discord discord
(mpv-unwrapped.wrapper {mpv = mpv-unwrapped.override {sixelSupport = true;};}) (mpv-unwrapped.wrapper {mpv = mpv-unwrapped.override {sixelSupport = true;};})
abaddon abaddon
catppuccinThemes.gtk
catppuccinThemes.papirus-folders
ferdium ferdium
gparted gparted
jdk jdk
@@ -55,7 +45,5 @@ lib.attrsets.optionalAttrs device.hasGui {
via via
wl-clipboard wl-clipboard
zed-editor zed-editor
]
++ lib.optionals pkgs.stdenv.isDarwin [
]; ];
} }