flameshot

This commit is contained in:
2026-02-16 09:40:35 -05:00
parent 8c0ad59c3d
commit 1df9c63cea
2 changed files with 39 additions and 4 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 = {
@@ -55,6 +70,18 @@
backupFileExtension = "not-nix"; # Add this line backupFileExtension = "not-nix"; # Add this line
users.jeremy = { pkgs, ... }: { users.jeremy = { pkgs, ... }: {
home.stateVersion = "25.11"; home.stateVersion = "25.11";
services.flameshot = {
# Also installs/enables flameshot
enable = true;
settings = {
General = {
useGrimAdapter = true;
# Stops warnings for using Grim
disabledGrimWarning = true;
};
};
};
wayland.windowManager.hyprland = { # Configure hyprland wayland.windowManager.hyprland = { # Configure hyprland
enable = true; enable = true;
settings = { settings = {
@@ -91,9 +118,10 @@
"$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" "$mainMod, A, togglesplit"
", PRINT, exec, hyprshot -zm region -o ~/pics/screenshots/" ", PRINT, exec, flameshot gui --clipboard --path ~/pics/screenshots --print-geometry"
"SHIFT, PRINT, exec, hyprshot -zm window -o ~/pics/screenshots/" # ", PRINT, exec, hyprshot -zm region -o ~/pics/screenshots/"
"SUPER, PRINT, exec, hyprshot -zm output -o ~/pics/screenshots/" # "SHIFT, PRINT, exec, hyprshot -zm window -o ~/pics/screenshots/"
# "SUPER, PRINT, exec, hyprshot -zm output -o ~/pics/screenshots/"
"$mainMod, N, exec, codium ~/etc/nixos/configuration.nix" "$mainMod, N, exec, codium ~/etc/nixos/configuration.nix"
"$mainMod, L, exec, sleep 1s; hyprctl dispatch dpms off" # screen off "$mainMod, L, exec, sleep 1s; hyprctl dispatch dpms off" # screen off
@@ -273,6 +301,10 @@
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!
flameshot # screenshots
grim # for flameshot
htop # better process watching
]; ];
}; };
@@ -318,7 +350,7 @@
}; };
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
@@ -327,6 +359,7 @@
HSA_OVERRIDE_GFX_VERSION = "10.3.0"; 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
@@ -401,3 +434,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

@@ -47,6 +47,7 @@
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
]; ];