removing flameshot -- can't get it to work on wayland
This commit is contained in:
parent
ff63e8b393
commit
1918c984d5
4 changed files with 0 additions and 29 deletions
|
@ -63,7 +63,6 @@
|
|||
};
|
||||
|
||||
framework_wifi_swap.enable = true;
|
||||
programs.flameshot.enable = true;
|
||||
security._1password.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./flameshot
|
||||
./shell
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
./flameshot.nix
|
||||
];
|
||||
}
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue