lf toogle
This commit is contained in:
parent
d444b47af8
commit
0d3d654659
@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
smayzy.webapps.enable = true;
|
smayzy.webapps.enable = true;
|
||||||
|
|
||||||
|
smayzy.lf.enable = true;
|
||||||
|
|
||||||
home.username = "smayzy";
|
home.username = "smayzy";
|
||||||
home.homeDirectory = "/home/smayzy";
|
home.homeDirectory = "/home/smayzy";
|
||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
|
|||||||
@ -1,6 +1,16 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
options.smayzy.lf.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "set to true if you want to use a nvidia GC";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.lf.enable {
|
||||||
xdg.configFile."lf/icons".source = ./icons;
|
xdg.configFile."lf/icons".source = ./icons;
|
||||||
|
|
||||||
programs.lf = {
|
programs.lf = {
|
||||||
@ -72,4 +82,5 @@
|
|||||||
set previewer ${previewer}/bin/pv.sh
|
set previewer ${previewer}/bin/pv.sh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user