feat: removed a bunch of flake inputs

This commit is contained in:
Nick 2025-02-03 00:02:52 -06:00
parent 4a9592dad8
commit 17ea540427
8 changed files with 95 additions and 1032 deletions

View file

@ -1,35 +1,35 @@
{ pkgs, ... }:
let
flameshotGrim = pkgs.flameshot.overrideAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = "flameshot-org";
repo = "flameshot";
rev = "3d21e4967b68e9ce80fb2238857aa1bf12c7b905";
sha256 = "sha256-OLRtF/yjHDN+sIbgilBZ6sBZ3FO6K533kFC1L2peugc=";
};
cmakeFlags = [
"-DUSE_WAYLAND_CLIPBOARD=1"
"-DUSE_WAYLAND_GRIM=1"
];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.libsForQt5.kguiaddons ];
});
in
{
# let
# flameshotGrim = pkgs.flameshot.overrideAttrs (oldAttrs: {
# src = pkgs.fetchFromGitHub {
# owner = "flameshot-org";
# repo = "flameshot";
# rev = "3d21e4967b68e9ce80fb2238857aa1bf12c7b905";
# sha256 = "sha256-OLRtF/yjHDN+sIbgilBZ6sBZ3FO6K533kFC1L2peugc=";
# };
# cmakeFlags = [
# "-DUSE_WAYLAND_CLIPBOARD=1"
# "-DUSE_WAYLAND_GRIM=1"
# ];
# buildInputs = oldAttrs.buildInputs ++ [ pkgs.libsForQt5.kguiaddons ];
# });
# in
# {
# services.flameshot = {
# enable = true;
# # package = flameshotGrim;
# settings = {
# General = {
# disabledTrayIcon = false;
# showStartupLaunchMessage = false;
# # disabledGrimWarning = false;
# };
# };
# };
services.flameshot = {
enable = true;
package = flameshotGrim;
settings = {
General = {
disabledTrayIcon = false;
showStartupLaunchMessage = false;
# disabledGrimWarning = false;
};
};
};
home.packages = builtins.attrValues {
inherit (pkgs)
flameshot
# flameshot
;
};
}