home: setup flameshot
This commit is contained in:
parent
cc34396e9e
commit
52290a8f8d
|
@ -6,7 +6,6 @@
|
|||
emacsPgtkGcc
|
||||
feh
|
||||
firefox
|
||||
flameshot
|
||||
pavucontrol
|
||||
slack
|
||||
spotify
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./emacs.nix
|
||||
./flameshot.nix
|
||||
./x
|
||||
];
|
||||
|
||||
|
|
13
home/flameshot.nix
Normal file
13
home/flameshot.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.home.flameshot;
|
||||
in
|
||||
{
|
||||
options.my.home.flameshot = with lib; {
|
||||
enable = mkEnableOption "flameshot autolaunch";
|
||||
};
|
||||
|
||||
config.services.flameshot = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -27,8 +27,9 @@ let
|
|||
in
|
||||
{
|
||||
config = lib.mkIf isEnabled {
|
||||
# FIXME: enable flameshot when added
|
||||
# my.home = {};
|
||||
my.home = {
|
||||
flameshot.enable = true;
|
||||
};
|
||||
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue