diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index f83ef00..032dc08 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -37,10 +37,9 @@ ../../modules/nixos/user.nix ../../hostsModules/laptop/nixos/user.nix ../../modules/nixos/notifications.nix ../../modules/nixos/browser.nix + ../../modules/nixos/theme.nix # install theming packages and some quickshell stuff ]; - qt.enable = true; - # removes rclone error programs.fuse.userAllowOther = true; programs.fuse.enable = true; @@ -62,9 +61,7 @@ udiskie # removable disk automounter for udisks cowsay cmatrix - swww #wallpaper daemon libreoffice - gruvbox-gtk-theme powertop fzf bottom # Cross-platform graphical process/system monitor with a customizable interface @@ -73,21 +70,13 @@ #hyprshot mailcap pkgs-unstable.vimPluginsUpdater # used for building plugins - hyprcursor vial # Open-source GUI and QMK fork for configuring your keyboard in real time - capitaine-cursors-themed # cursor theme usbutils # used for lsusb # used for the framework 16 laptop framework-tool framework-tool-tui fluffychat # matrix client - # utils for dev - # for caelestia - kdePackages.qtdeclarative # provides qmlls and other things - quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")" fuzzel - papirus-icon-theme - papirus-folders birdtray # thunderbird tray app # this is more up to date #(callPackage ../../modules/packages/vivify.nix {}) diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index dbd685f..f12e40e 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -66,18 +66,12 @@ home.packages = [ #scritps (pkgs.callPackage ../../modules/scripts/dontkillsteam.nix {}) # kill app (if it is steam put it in some background - (pkgs.callPackage ../../modules/scripts/weather.nix {}) - (pkgs.callPackage ../../modules/scripts/wallpaper.nix {}) (pkgs.callPackage ../../modules/scripts/mountkdrive.nix {}) - (pkgs.callPackage ../../modules/scripts/colorpicker.nix {}) (pkgs.callPackage ../../modules/scripts/killall.nix {}) # kill all windows except focused window (pkgs.callPackage ../../modules/scripts/tomato.nix {}) (pkgs.callPackage ../../modules/scripts/btm.nix {}) (pkgs.callPackage ../../modules/scripts/trimmer.nix {}) (pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french - (pkgs.callPackage ../../hostsModules/laptop/qt/qtbatticon.nix {}) - #pkgs - pkgs.gruvbox-gtk-theme ]; diff --git a/modules/nixos/theme.nix b/modules/nixos/theme.nix new file mode 100644 index 0000000..00c29b7 --- /dev/null +++ b/modules/nixos/theme.nix @@ -0,0 +1,24 @@ +# most of the themeing are in the home-manager modules. This just installs some packages needed +{ + pkgs, + ... +}: +{ + qt.enable = true; + + + environment.systemPackages = with pkgs; [ + swww #wallpaper daemon + gruvbox-gtk-theme + hyprcursor + capitaine-cursors-themed # cursor theme + kdePackages.qtdeclarative # provides qmlls and other things + quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")" + papirus-icon-theme + papirus-folders + (pkgs.callPackage ../../modules/scripts/wallpaper.nix {}) + #(pkgs.callPackage ../../modules/scripts/colorpicker.nix {}) # old color picker + #(pkgs.callPackage ../../modules/scripts/weather.nix {}) # old cli weather + (pkgs.callPackage ../../hostsModules/laptop/qt/qtbatticon.nix {}) # custom qt tray icon for battery + ]; +}