1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 18:41:09 +01:00
Files
niveum/configs/flameshot-once.nix

26 lines
646 B
Nix
Raw Normal View History

2020-06-02 23:02:21 +02:00
{ lib, pkgs, ... }:
let
inherit (import <niveum/lib>) defaultApplications;
2020-06-10 17:37:25 +02:00
flameshot-once =
2020-09-24 11:13:21 +02:00
pkgs.callPackage <stockholm/krebs/5pkgs/simple/flameshot-once> {};
2020-06-10 17:37:25 +02:00
in {
2020-06-02 23:02:21 +02:00
nixpkgs.overlays = [
(self: super: {
2020-06-10 17:37:25 +02:00
xwaitforwindow =
super.callPackage <stockholm/krebs/5pkgs/simple/xwaitforwindow.nix> { };
2020-06-02 23:02:21 +02:00
})
];
environment.systemPackages = [
(flameshot-once.override {
2020-06-04 13:28:49 +02:00
config.imgur = {
enable = true;
createUrl = "http://p.r/image";
deleteUrl = "http://p.r/image/delete/%1";
xdg-open.browser = (defaultApplications pkgs).browser;
2020-06-04 13:28:49 +02:00
};
2020-06-02 23:02:21 +02:00
config.timeout = 200;
})
];
}