Deephack's Hyperland config based on omarchy-nix from Henry Sipp and in turn of course inspired by Omarchy.

Added jocalsend

+26 -6
+8
bin/quickmenu.sh
··· 23 23 notify-send nix-collect-grabage "Completed garbage collection" 24 24 } 25 25 26 + send_file() { 27 + FILE=$(find ~ -type f | wofi -d) 28 + kitty --class=com.markd.nmtui jocalsend "$FILE" 29 + } 30 + 26 31 case "$SELECTION" in 27 32 "󰈦 Open PDF") 28 33 pdf ··· 35 40 ;; 36 41 "󰃨 Collect Garbage") 37 42 collect 43 + ;; 44 + "󰈪 Send File") 45 + send_file 38 46 ;; 39 47 esac
+10 -4
modules/nixos/system.nix
··· 1 - 2 1 { 3 2 config, 4 3 pkgs, 5 4 lib, 6 5 ... 7 - }: let 6 + }: 7 + let 8 8 cfg = config.omarchy; 9 - packages = import ../packages.nix {inherit pkgs lib; exclude_packages = cfg.exclude_packages;}; 10 - in { 9 + packages = import ../packages.nix { 10 + inherit pkgs lib; 11 + exclude_packages = cfg.exclude_packages; 12 + }; 13 + in 14 + { 11 15 environment.systemPackages = packages.systemPackages; 12 16 networking.wireless.iwd.enable = true; 13 17 networking.networkmanager.enable = lib.mkDefault false; ··· 21 25 }; 22 26 networking.wireguard.enable = true; 23 27 services.upower.enable = true; 28 + networking.firewall.allowedTCPPorts = [ 53317 ]; 29 + networking.firewall.allowedUDPPorts = [ 53317 ]; 24 30 }
+8 -2
modules/packages.nix
··· 1 - {pkgs, lib, exclude_packages ? []}: 1 + { 2 + pkgs, 3 + lib, 4 + exclude_packages ? [ ], 5 + }: 2 6 let 3 7 # Essential Hyprland packages - cannot be excluded 4 8 hyprlandPackages = with pkgs; [ ··· 17 21 ffmpeg 18 22 impala 19 23 bluetui 24 + jocalsend 20 25 rose-pine-hyprcursor 21 26 ]; 22 27 ··· 60 65 # Only allow excluding discretionary packages to prevent breaking the system 61 66 filteredDiscretionaryPackages = lib.lists.subtractLists exclude_packages discretionaryPackages; 62 67 allSystemPackages = hyprlandPackages ++ systemPackages ++ filteredDiscretionaryPackages; 63 - in { 68 + in 69 + { 64 70 # Regular packages 65 71 systemPackages = allSystemPackages; 66 72