removing flameshot -- can't get it to work on wayland

This commit is contained in:
Joseph Hanson 2024-09-15 20:27:54 -05:00
parent ff63e8b393
commit 1918c984d5
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 0 additions and 29 deletions

View file

@ -63,7 +63,6 @@
};
framework_wifi_swap.enable = true;
programs.flameshot.enable = true;
security._1password.enable = true;
};
}

View file

@ -1,6 +1,5 @@
{
imports = [
./flameshot
./shell
];
}

View file

@ -1,5 +0,0 @@
{
imports = [
./flameshot.nix
];
}

View file

@ -1,22 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.mySystem.programs.flameshot;
in
{
options.mySystem.programs.flameshot = {
enable = lib.mkEnableOption "flameshot";
};
config = lib.mkIf cfg.enable {
environment.sessionVariables = {
XDG_SESSION_TYPE = "wayland";
QT_QPA_PLATFORM = "wayland";
};
environment.systemPackages = with pkgs; [
(unstable.flameshot.override { enableWlrSupport = true; })
xdg-desktop-portal
xdg-desktop-portal-gnome
];
};
}