fix: Linux packages were being ignored
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
./ironbar
|
||||
./foot.nix
|
||||
./mpd.nix
|
||||
./gui.nix
|
||||
]);
|
||||
|
||||
services.kdeconnect.enable = device.hasGui;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
...
|
||||
}: {
|
||||
gtk = {
|
||||
enable = device.hasGui;
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "catppuccin-mocha-mauve-standard+normal";
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
@@ -32,4 +32,8 @@
|
||||
gtk3.extraConfig = {gtk-application-prefer-dark-theme = 1;};
|
||||
gtk4.extraConfig = {gtk-application-prefer-dark-theme = 1;};
|
||||
};
|
||||
home.packages = [
|
||||
pkgs.catppuccinThemes.gtk
|
||||
pkgs.catppuccinThemes.papirus-folders
|
||||
];
|
||||
}
|
||||
|
||||
49
home/linux/gui.nix
Normal file
49
home/linux/gui.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.attrsets.optionalAttrs device.hasGui {
|
||||
systemd.user.services.onepassword-gui = lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
Unit = {
|
||||
Description = "1Password GUI";
|
||||
BindsTo = ["graphical-session.target"];
|
||||
After = ["graphical-session-pre.target"];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs._1password-gui}/bin/1password";
|
||||
Restart = "always";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs;
|
||||
[]
|
||||
++ lib.optionals device.hasGui [
|
||||
discord
|
||||
(mpv-unwrapped.wrapper {mpv = mpv-unwrapped.override {sixelSupport = true;};})
|
||||
abaddon
|
||||
ferdium
|
||||
gparted
|
||||
jdk
|
||||
mullvad-closest
|
||||
mullvad-vpn
|
||||
nautilus
|
||||
nextcloud-client
|
||||
polkit_gnome
|
||||
psst
|
||||
seahorse
|
||||
signal-desktop
|
||||
slack
|
||||
sony-headphones-client
|
||||
spotify
|
||||
steam-run
|
||||
via
|
||||
wl-clipboard
|
||||
zed-editor
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user