Compare commits

..

4 Commits

Author SHA1 Message Date
0e67e4b509 removed room heater 2026-03-12 00:09:22 -04:00
e2235667d7 arr 2026-03-07 08:56:18 -05:00
c4ac0db59b no flameshot 2026-02-16 09:56:53 -05:00
1df9c63cea flameshot 2026-02-16 09:40:35 -05:00
2 changed files with 62 additions and 39 deletions

View File

@@ -47,6 +47,21 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
# services.xserver.enable = true; # services.xserver.enable = true;
fonts.fontconfig.enable = true;
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
home-manager = { home-manager = {
@@ -273,6 +288,11 @@
tinymist # typst previews tinymist # typst previews
binaryninja-free # broke ahh cracker binaryninja-free # broke ahh cracker
patchelf # make programs understand nix. good for downloaded executables such as crackmes patchelf # make programs understand nix. good for downloaded executables such as crackmes
starsector # support indie games!
htop
mullvad-vpn # arrr
qbittorrent # arrr
mpv # arrr
]; ];
}; };
@@ -309,16 +329,15 @@
powerOnBoot = true; powerOnBoot = true;
}; };
networking.networkmanager = { # networking.networkmanager = {
enable = true; # enable = true;
# This is the critical line that fixes your error # plugins = with pkgs; [
plugins = with pkgs; [ # networkmanager-openvpn # for htb
networkmanager-openvpn # ];
]; # };
};
services.ollama = { services.ollama = {
enable = true; enable = false;
acceleration = "rocm"; acceleration = "rocm";
environmentVariables = { environmentVariables = {
# Force Ollama to only see the dedicated GPU # Force Ollama to only see the dedicated GPU
@@ -339,9 +358,14 @@
services.displayManager.sddm.enable = true; # Enable display manager services.displayManager.sddm.enable = true; # Enable display manager
services.displayManager.sddm.wayland.enable = true; # Wayland - hyprland services.displayManager.sddm.wayland.enable = true; # Wayland - hyprland
services.mullvad-vpn.package = pkgs.mullvad-vpn; # arr
services.resolved.enable = true; # for mullvad
programs.ssh.startAgent = true; # Enable SSH tools programs.ssh.startAgent = true; # Enable SSH tools
programs.thunar.enable = true; # file manager programs.thunar.enable = true; # file manager
virtualisation.waydroid.enable = true; # android :0
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam" "steam"
@@ -400,4 +424,4 @@
# #
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "25.11"; # Did you read the comment? system.stateVersion = "25.11"; # Did you read the comment?
} }

View File

@@ -13,40 +13,39 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
systemd.services.heat-room = { # systemd.services.heat-room = {
description = "Morning room heating"; # description = "Morning room heating";
after = [ "graphical-session.target" ]; # after = [ "graphical-session.target" ];
environment = { # environment = {
WAYLAND_DISPLAY = "wayland-1"; # WAYLAND_DISPLAY = "wayland-1";
XDG_RUNTIME_DIR = "/run/user/1000"; # XDG_RUNTIME_DIR = "/run/user/1000";
}; # };
serviceConfig = { # serviceConfig = {
Type = "oneshot"; # Type = "oneshot";
User = "jeremy"; # User = "jeremy";
}; # };
script = '' # script = ''
${pkgs.furmark}/bin/furmark --demo furmark-gl & # ${pkgs.furmark}/bin/furmark --demo furmark-gl &
sleep 1s # sleep 1s
${pkgs.hyprland}/bin/hyprctl dispatch dpms off # ${pkgs.hyprland}/bin/hyprctl dispatch dpms off
sleep 2h # sleep 2h
pkill furmark # pkill furmark
''; # '';
}; # };
# systemd.timers.heat-room = {
# wantedBy = [ "timers.target" ];
systemd.timers.heat-room = { # timerConfig = {
wantedBy = [ "timers.target" ]; # OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day
timerConfig = { # Persistent = true; # Run immediately if a scheduled time was missed
OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day # WakeSystem = true; # Wakes the system from suspend/hibernate
Persistent = true; # Run immediately if a scheduled time was missed # Unit = "heat-room.service";
WakeSystem = true; # Wakes the system from suspend/hibernate # };
Unit = "heat-room.service"; # };
};
};
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
rocmPackages.clr.icd # Enables OpenCL support for AMD rocmPackages.clr.icd # Enables OpenCL support for AMD
]; ];