aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-05-02 20:46:31 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-05-02 20:47:02 +0200
commit7f3e03db727ff379f61401eafbdbeb04322012d6 (patch)
tree6ec8d8742266526d8f34948f912f8b45954b8bfe
parent6f7b574a9857d654543016b20613c0955ade7814 (diff)
hyprdesktop: add prismlauncher
-rw-r--r--share/hm-modules/hyprdesktop.nix152
1 files changed, 83 insertions, 69 deletions
diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix
index de2a780..a536c0c 100644
--- a/share/hm-modules/hyprdesktop.nix
+++ b/share/hm-modules/hyprdesktop.nix
@@ -1,6 +1,17 @@
-{ config, pkgs, lib, ... }:
+{ config
+, pkgs
+, lib
+, ...
+}:
let
- inherit (lib) mkIf mkOption mkEnableOption types mdDoc lists;
+ inherit (lib)
+ mkIf
+ mkOption
+ mkEnableOption
+ types
+ mdDoc
+ lists
+ ;
cfg = config.custom.hyprdesktop;
in
{
@@ -50,74 +61,76 @@ in
config = mkIf cfg.enable {
wayland.windowManager.hyprland.enable = true;
- home.packages = with pkgs; [
- xh # Nice to use HTTP client
- bc # CLI calculator
- amfora # Gemini CLI browser
- trashy # Trash CLI
- tokei # counts lines of code
- btop # modern top
- wireplumber # session & policy manager for pipewire
- grim # screenshot utility for wayland
- slurp # region selection UI for wayland
- wl-clipboard # clipboard utility
- nushell # next-generation shell
- ffmpeg
- imagemagick
- exiftool
- sl
- jaq # json query tool
- mullvad
- # tools for dealing with all sorts archives
- atool
- unzip
- gnutar
- unrar-wrapper
- # Useful nix tooling
- nix-tree
- fzf
+ home.packages =
+ with pkgs;
+ [
+ xh # Nice to use HTTP client
+ bc # CLI calculator
+ amfora # Gemini CLI browser
+ trashy # Trash CLI
+ tokei # counts lines of code
+ btop # modern top
+ wireplumber # session & policy manager for pipewire
+ grim # screenshot utility for wayland
+ slurp # region selection UI for wayland
+ wl-clipboard # clipboard utility
+ nushell # next-generation shell
+ ffmpeg
+ imagemagick
+ exiftool
+ sl
+ jaq # json query tool
+ mullvad
+ # tools for dealing with all sorts archives
+ atool
+ unzip
+ gnutar
+ unrar-wrapper
+ # Useful nix tooling
+ nix-tree
+ fzf
- # TUI/GUI programs
- cmus # music player
- calibre # Document organisation/reading program
- libreoffice-qt
- beekeeper-studio # SQL database client
- thunderbird # email client
- nsxiv # image viewer
- discord
- signal-desktop
- tdesktop # Telegram desktop
- fluffychat # matrix client
- qbittorrent # bittorrent client
- zathura # document reader
- bitwarden # password manager
- heroic # FOSS game launcher for GOG & Epic
- foliate
+ # TUI/GUI programs
+ cmus # music player
+ calibre # Document organisation/reading program
+ libreoffice-qt
+ beekeeper-studio # SQL database client
+ thunderbird # email client
+ nsxiv # image viewer
+ discord
+ signal-desktop
+ tdesktop # Telegram desktop
+ fluffychat # matrix client
+ qbittorrent # bittorrent client
+ zathura # document reader
+ bitwarden # password manager
+ heroic # FOSS game launcher for GOG & Epic
+ foliate
+ prismlauncher
- # Other
- # It seems that not all gtk icon themes contain all icons? At least the
- # Flat-Remix icon themes don't contain all the icons that Foliate uses,
- # so I'm bringing in the adwaita icons as a fallback.
- gnome3.adwaita-icon-theme
- ] ++ lists.optionals cfg.hasBluetooth [ overskride ]
- ++ lists.optionals cfg.enableGaming [
- jdk17_headless
- superTuxKart
- wineWowPackages.full
- winetricks
- ]
- ++ lists.optionals (cfg.enableWindowsCompat || cfg.enableGaming) [
- wineWowPackages.full
- winetricks
- qemu_kvm
- ]
- ++ lists.optionals cfg.hasBrightnessCtl [
- brightnessctl
- ]
- ++ lists.optionals cfg.enableGitAnnex [
- git-annex
- git-remote-gcrypt
- ];
+ # Other
+ # It seems that not all gtk icon themes contain all icons? At least the
+ # Flat-Remix icon themes don't contain all the icons that Foliate uses,
+ # so I'm bringing in the adwaita icons as a fallback.
+ gnome3.adwaita-icon-theme
+ ]
+ ++ lists.optionals cfg.hasBluetooth [ overskride ]
+ ++ lists.optionals cfg.enableGaming [
+ jdk17_headless
+ superTuxKart
+ wineWowPackages.full
+ winetricks
+ ]
+ ++ lists.optionals (cfg.enableWindowsCompat || cfg.enableGaming) [
+ wineWowPackages.full
+ winetricks
+ qemu_kvm
+ ]
+ ++ lists.optionals cfg.hasBrightnessCtl [ brightnessctl ]
+ ++ lists.optionals cfg.enableGitAnnex [
+ git-annex
+ git-remote-gcrypt
+ ];
home.shellAliases = {
sl = "sl -awFc5";
@@ -168,7 +181,8 @@ in
{
enable = true;
createDirectories = true;
- } // mkIf cfg.enableGitAnnex {
+ }
+ // mkIf cfg.enableGitAnnex {
pictures = "${annex}/Pictures";
music = "${annex}/Music";
documents = "${annex}/Documents";