Skip to content

Commit 3dccdad

Browse files
committed
nobuild: hermes
1 parent 6d55760 commit 3dccdad

11 files changed

Lines changed: 67 additions & 18 deletions

File tree

.fdignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!bin

bin/disable_notifications.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ $XDG_SESSION_TYPE == "x11" ]]; then
4+
dunstctl set-paused true
5+
elif [[ $XDG_SESSION_TYPE == "wayland" ]]; then
6+
swaync-client -dn
7+
fi

bin/enable_notifications.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ $XDG_SESSION_TYPE == "x11" ]]; then
4+
dunstctl set-paused false
5+
elif [[ $XDG_SESSION_TYPE == "wayland" ]]; then
6+
swaync-client -df
7+
fi

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/hosts/gpu.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
pkgs,
23
config,
34
lib,
45
# sharedConfig,
@@ -8,16 +9,17 @@
89
enable = true;
910
enable32Bit = true;
1011
};
12+
environment.systemPackages = with pkgs.nvtopPackages; [intel];
1113
environment.sessionVariables = {
1214
VK_ICD_FILENAMES = builtins.concatStringsSep ":" [
13-
# i really only need the first 2
1415
"/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json"
1516
"/run/opengl-driver/share/vulkan/icd.d/intel_icd.x86_64.json"
1617
];
1718
};
1819
specialisation = lib.mkIf config.services.isLaptop {
1920
nvidia.configuration = {
2021
services.xserver.videoDrivers = ["nvidia"];
22+
environment.systemPackages = with pkgs.nvtopPackages; [nvidia];
2123
hardware = {
2224
nvidia-container-toolkit.mount-nvidia-executables = true;
2325
nvidia = {

modules/hosts/packages.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
zoxide
138138

139139
zip
140+
unzip
140141
rlwrap
141142

142143
fzf

modules/stylix/common.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ in {
99

1010
enable = true;
1111

12-
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
12+
base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark-dark.yaml";
1313

1414
cursor = {
1515
name = "capitaine-cursors";

modules/toolsets/gaming/home.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
...
55
}: {
66
services = {
7-
arrpc.enable = false;
7+
arrpc.enable = true;
88
linux-wallpaperengine =
99
if sharedConfig.gaming.wallpaperengine
1010
then {

modules/toolsets/gaming/os.nix

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
1-
{pkgs, ...}: {
1+
{
2+
pkgs,
3+
# sharedConfig,
4+
...
5+
}: {
26
hardware = {
37
steam-hardware.enable = true;
8+
# openrazer = {
9+
# enable = true;
10+
# users = [sharedConfig.user];
11+
# }; # idk where to put it
412
uinput.enable = true;
513
};
614

15+
# environment.systemPackages = with pkgs; [
16+
# razer-cli
17+
# razergenie
18+
# ];
19+
720
programs = {
821
steam.enable = true;
922
gamemode.enable = true;
1023
};
1124

12-
services.udev.packages = [
13-
pkgs.game-devices-udev-rules
14-
];
25+
services = {
26+
input-remapper.enable = true;
27+
udev.packages = [
28+
pkgs.game-devices-udev-rules
29+
];
30+
};
1531
}

modules/wm/niri/home.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ in {
6363
scale = 1;
6464
};
6565
input = {
66+
mouse = {
67+
accel-speed = 0.2;
68+
accel-profile = "flat";
69+
};
6670
keyboard = {
6771
xkb = {
6872
# layout = "us,es";

0 commit comments

Comments
 (0)