tangled
alpha
login
or
join now
deephackontech.bsky.social
/
hyperdeepnix
0
fork
atom
Deephack's Hyperland config based on omarchy-nix from Henry Sipp and in turn of course inspired by Omarchy.
0
fork
atom
overview
issues
1
pulls
pipelines
Added jocalsend
deephackontech.bsky.social
3 months ago
948dfbd0
09aff7a1
+26
-6
3 changed files
expand all
collapse all
unified
split
bin
quickmenu.sh
modules
nixos
system.nix
packages.nix
+8
bin/quickmenu.sh
···
23
23
notify-send nix-collect-grabage "Completed garbage collection"
24
24
}
25
25
26
26
+
send_file() {
27
27
+
FILE=$(find ~ -type f | wofi -d)
28
28
+
kitty --class=com.markd.nmtui jocalsend "$FILE"
29
29
+
}
30
30
+
26
31
case "$SELECTION" in
27
32
" Open PDF")
28
33
pdf
···
35
40
;;
36
41
" Collect Garbage")
37
42
collect
43
43
+
;;
44
44
+
" Send File")
45
45
+
send_file
38
46
;;
39
47
esac
+10
-4
modules/nixos/system.nix
···
1
1
-
2
1
{
3
2
config,
4
3
pkgs,
5
4
lib,
6
5
...
7
7
-
}: let
6
6
+
}:
7
7
+
let
8
8
cfg = config.omarchy;
9
9
-
packages = import ../packages.nix {inherit pkgs lib; exclude_packages = cfg.exclude_packages;};
10
10
-
in {
9
9
+
packages = import ../packages.nix {
10
10
+
inherit pkgs lib;
11
11
+
exclude_packages = cfg.exclude_packages;
12
12
+
};
13
13
+
in
14
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
28
+
networking.firewall.allowedTCPPorts = [ 53317 ];
29
29
+
networking.firewall.allowedUDPPorts = [ 53317 ];
24
30
}
+8
-2
modules/packages.nix
···
1
1
-
{pkgs, lib, exclude_packages ? []}:
1
1
+
{
2
2
+
pkgs,
3
3
+
lib,
4
4
+
exclude_packages ? [ ],
5
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
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
63
-
in {
68
68
+
in
69
69
+
{
64
70
# Regular packages
65
71
systemPackages = allSystemPackages;
66
72