hashcat heater

This commit is contained in:
2026-01-21 23:41:03 -05:00
parent 66aaa4aeaa
commit b029131c6c
2 changed files with 100 additions and 30 deletions

View File

@@ -87,6 +87,7 @@
"$mainMod, F, fullscreen" "$mainMod, F, fullscreen"
"$mainMod, V, togglefloating," "$mainMod, V, togglefloating,"
",F4, exec, rofi -show combi -combi-modes 'drun,filebrowser'" ",F4, exec, rofi -show combi -combi-modes 'drun,filebrowser'"
"$mainMod, A, togglesplit"
# Move between windows # Move between windows
"$mainMod, h, movefocus, l" "$mainMod, h, movefocus, l"
@@ -122,9 +123,16 @@
"$mainMod, mouse:272, movewindow" "$mainMod, mouse:272, movewindow"
"$mainMod, mouse:273, resizewindow" "$mainMod, mouse:273, resizewindow"
]; ];
binde = [
", XF86AudioRaiseVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 && wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioLowerVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 && wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
];
bindl = [
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
];
monitor = [ monitor = [
"DP-3, 2560x1440@170, 1440x700, 1" "DP-2, 2560x1440@170, 0x0, 1"
"HDMI-A-1, 2560x1440@144, 0x0, 1, transform, 1" "HDMI-A-1, 2560x1440@144, 2560x0, 1"
]; ];
windowrulev2 = [ windowrulev2 = [
"tile, initialClass:^(Godot)$, initialTitle: ^(Godot)$" "tile, initialClass:^(Godot)$, initialTitle: ^(Godot)$"
@@ -193,6 +201,27 @@
"clock" "clock"
]; ];
}; };
home.pointerCursor =
let
getFrom = url: hash: name: {
gtk.enable = true;
x11.enable = true;
name = name;
size = 48;
package =
pkgs.runCommand "moveUp" {} ''
mkdir -p $out/share/icons
ln -s ${pkgs.fetchzip {
url = url;
hash = hash;
}} $out/share/icons/${name}
'';
};
in
getFrom
"https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.0/Fuchsia-Pop.tar.gz"
"sha256-BvVE9qupMjw7JRqFUj1J0a4ys6kc9fOLBPx2bGaapTk="
"Fuchsia-Pop";
}; };
}; };
@@ -212,7 +241,7 @@
nextcloud-client nextcloud-client
steam steam
signal-desktop signal-desktop
cargo cargo # for rust
docker docker
swaybg # wallpaper swaybg # wallpaper
nixfmt # nix file formatting nixfmt # nix file formatting
@@ -220,14 +249,11 @@
furmark # Room heater furmark # Room heater
obsidian # note taking obsidian # note taking
gcc gcc
(python3.withPackages (python-pkgs: with python-pkgs; [ xauth
pwntools
pycryptodome
flask
selenium
]))
xauth # xforwarding ssh
burpsuite burpsuite
ollama
ollama-rocm
hashcat
]; ];
}; };
@@ -257,6 +283,8 @@
bluez-tools # Bluetooth tools bluez-tools # Bluetooth tools
]; ];
boot.initrd.kernelModules = [ "amdgpu" ];
environment.sessionVariables = { environment.sessionVariables = {
SUDO_EDITOR = "nvim"; SUDO_EDITOR = "nvim";
}; };
@@ -267,6 +295,16 @@
}; };
services.ollama = {
enable = true;
acceleration = "rocm";
environmentVariables = {
# Force Ollama to only see the dedicated GPU
HIP_VISIBLE_DEVICES = "0";
# Optional: Force the GPU architecture if discovery still fails
HSA_OVERRIDE_GFX_VERSION = "10.3.0";
};
};
services.pulseaudio.enable = false; # Use Pipewire services.pulseaudio.enable = false; # Use Pipewire
security.rtkit.enable = true; # Enable RealtimeKit for audio purposes security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
services.hardware.openrgb = { # Enable OpenRGB services.hardware.openrgb = { # Enable OpenRGB

View File

@@ -13,6 +13,38 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
systemd.services.heat-room = {
description = "Morning room heating";
serviceConfig = {
Type = "oneshot";
User = "jeremy";
RuntimeMaxSec = 3600;
};
script = ''
while true; do
${pkgs.hashcat}/bin/hashcat -b
done
'';
};
systemd.timers.heat-room = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "*-*-* 04:00:00"; # Runs at 4:00:00 AM every day
Persistent = true; # Run immediately if a scheduled time was missed
WakeSystem = true; # Wakes the system from suspend/hibernate
Unit = "heat-room.service";
};
};
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
rocmPackages.clr.icd # Enables OpenCL support for AMD
];
};
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-label/NIXROOT"; { device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4"; fsType = "ext4";