flameshot
This commit is contained in:
@@ -47,6 +47,21 @@
|
||||
# Enable the X11 windowing system.
|
||||
# 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;
|
||||
|
||||
home-manager = {
|
||||
@@ -55,6 +70,18 @@
|
||||
backupFileExtension = "not-nix"; # Add this line
|
||||
users.jeremy = { pkgs, ... }: {
|
||||
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
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -91,9 +118,10 @@
|
||||
"$mainMod, V, togglefloating,"
|
||||
",F4, exec, rofi -show combi -combi-modes 'drun,filebrowser'"
|
||||
"$mainMod, A, togglesplit"
|
||||
", PRINT, exec, hyprshot -zm region -o ~/pics/screenshots/"
|
||||
"SHIFT, PRINT, exec, hyprshot -zm window -o ~/pics/screenshots/"
|
||||
"SUPER, PRINT, exec, hyprshot -zm output -o ~/pics/screenshots/"
|
||||
", PRINT, exec, flameshot gui --clipboard --path ~/pics/screenshots --print-geometry"
|
||||
# ", PRINT, exec, hyprshot -zm region -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, L, exec, sleep 1s; hyprctl dispatch dpms off" # screen off
|
||||
|
||||
@@ -273,6 +301,10 @@
|
||||
tinymist # typst previews
|
||||
binaryninja-free # broke ahh cracker
|
||||
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 = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
acceleration = "rocm";
|
||||
environmentVariables = {
|
||||
# Force Ollama to only see the dedicated GPU
|
||||
@@ -327,6 +359,7 @@
|
||||
HSA_OVERRIDE_GFX_VERSION = "10.3.0";
|
||||
};
|
||||
};
|
||||
|
||||
services.pulseaudio.enable = false; # Use Pipewire
|
||||
security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
|
||||
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 .
|
||||
system.stateVersion = "25.11"; # Did you read the comment?
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
rocmPackages.clr.icd # Enables OpenCL support for AMD
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user