forked from extern/nix-config
joshuto: Begin migration to home-manager module
This commit is contained in:
parent
9841ad09c6
commit
33fe40f1bb
@ -1,21 +1,25 @@
|
|||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
home.packages = with pkgs; [ joshuto ];
|
programs.joshuto = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
xdg.configFile."joshuto/joshuto.toml".text = /* toml */ ''
|
settings = {
|
||||||
[display]
|
display = {
|
||||||
automatically_count_files = true
|
automatically_count_files = true;
|
||||||
show_borders = false
|
show_borders = false;
|
||||||
show_hidden = true
|
show_hidden = true;
|
||||||
show_icons = true
|
show_icons = true;
|
||||||
line_number_style = "absolute"
|
line_number_style = "absolute";
|
||||||
collapse_preview = false
|
collapse_preview = false;
|
||||||
|
};
|
||||||
|
|
||||||
[preview]
|
preview = {
|
||||||
max_preview_size = 10000000000
|
max_preview_size = 10000000000;
|
||||||
preview_script = "~/.config/joshuto/preview.sh"
|
preview_script = "~/.config/joshuto/preview.sh";
|
||||||
preview_shown_hook_script = "~/.config/joshuto/kitty-show.sh"
|
preview_shown_hook_script = "~/.config/joshuto/kitty-show.sh";
|
||||||
preview_removed_hook_script = "~/.config/joshuto/kitty-remove.sh"
|
preview_removed_hook_script = "~/.config/joshuto/kitty-remove.sh";
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.configFile."joshuto/preview.sh".source = ./preview.sh;
|
xdg.configFile."joshuto/preview.sh".source = ./preview.sh;
|
||||||
xdg.configFile."joshuto/kitty-show.sh".source = ./kitty-show.sh;
|
xdg.configFile."joshuto/kitty-show.sh".source = ./kitty-show.sh;
|
||||||
|
Loading…
Reference in New Issue
Block a user