new formatting, nixvim is working
This commit is contained in:
parent
6513d61fa3
commit
0e22544a8a
88 changed files with 1994 additions and 1845 deletions
|
@ -1,6 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
with lib;
|
||||
let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.programs.zathura;
|
||||
username = config.modules.other.system.username;
|
||||
catppuccin = pkgs.fetchFromGitHub {
|
||||
|
@ -9,20 +13,18 @@ let
|
|||
rev = "4eb02fd206de63b2423f6deb58242d352545b52f";
|
||||
hash = "sha256-/vD/hOi6KcaGyAp6Az7jL5/tQSGRzIrf0oHjAJf4QbI=";
|
||||
};
|
||||
|
||||
in {
|
||||
options.modules.programs.zathura.enable = mkEnableOption "zathura";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
xdg.configFile."zathura/catppuccin-mocha".source =
|
||||
"${catppuccin}/src/catppuccin-mocha";
|
||||
xdg.configFile."zathura/catppuccin-mocha".source = "${catppuccin}/src/catppuccin-mocha";
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
include catppuccin-mocha
|
||||
'';
|
||||
options = { selection-clipboard = "clipboard"; };
|
||||
options = {selection-clipboard = "clipboard";};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue