diff options
Diffstat (limited to 'hm/soft')
| -rw-r--r-- | hm/soft/media.nix | 45 | ||||
| -rw-r--r-- | hm/soft/nixcord.nix | 2 | ||||
| -rw-r--r-- | hm/soft/obsidian.nix | 2 | ||||
| -rw-r--r-- | hm/soft/sioyek.nix | 18 | ||||
| -rw-r--r-- | hm/soft/soft.nix | 2 | ||||
| -rw-r--r-- | hm/soft/vpn.nix | 20 |
6 files changed, 23 insertions, 66 deletions
diff --git a/hm/soft/media.nix b/hm/soft/media.nix index 72ddc64..de70715 100644 --- a/hm/soft/media.nix +++ b/hm/soft/media.nix @@ -10,56 +10,15 @@ in { options.hm.soft.media.enable = lib.mkEnableOption "media cli tools"; config = lib.mkIf cfg.enable { - programs.zathura = { - enable = true; - package = pkgs.zathura.override { - plugins = with pkgs.zathuraPkgs; [ - zathura_pdf_mupdf - zathura_cb - ]; - }; - options = { - selection-clipboard = "clipboard"; - - incremental-search = true; - highlight-active-color = "#fabd2f"; - highlight-color = "#fe8019"; - - recolor = true; - recolor-keephue = true; - - default-bg = "#282828"; - default-fg = "#ebdbb2"; - recolor-lightcolor = "#282828"; - recolor-darkcolor = "#ebdbb2"; - - render-loading = false; - scroll-step = 50; - statusbar-h-padding = 10; - statusbar-v-padding = 10; - }; - - mappings = { - "u" = "scroll half-up"; - "d" = "scroll half-down"; - "D" = "toggle_page_mode"; - "r" = "reload"; - "R" = "rotate"; - "K" = "zoom in"; - "J" = "zoom out"; - "i" = "recolor"; - }; - }; home.packages = with pkgs; [ - (callPackage ./czkawka-v11.nix { }) - + czkawka nsxiv pinta ffmpeg imagemagick mediainfo sox - syncplay-nogui + syncplay ]; }; } diff --git a/hm/soft/nixcord.nix b/hm/soft/nixcord.nix index 112a82b..8e5ae12 100644 --- a/hm/soft/nixcord.nix +++ b/hm/soft/nixcord.nix @@ -24,7 +24,7 @@ in autoscroll.enable = true; vencord.enable = false; - equicord.enable = true; + # equicord.enable = true; }; equibop = { enable = true; diff --git a/hm/soft/obsidian.nix b/hm/soft/obsidian.nix index a840726..38093fa 100644 --- a/hm/soft/obsidian.nix +++ b/hm/soft/obsidian.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: let cfg = config.hm.soft.obsidian; in diff --git a/hm/soft/sioyek.nix b/hm/soft/sioyek.nix new file mode 100644 index 0000000..6b2650d --- /dev/null +++ b/hm/soft/sioyek.nix @@ -0,0 +1,18 @@ +{ config, lib, ... }: +let + cfg = config.hm.soft.sioyek; +in +{ + options.hm.soft.sioyek.enable = lib.mkEnableOption "enables sioyek pdf reader"; + config = lib.mkIf cfg.enable { + programs.sioyek = { + enable = true; + config = { + + }; + bindings = { + + }; + }; + }; +} diff --git a/hm/soft/soft.nix b/hm/soft/soft.nix index 0d74669..f6a9a69 100644 --- a/hm/soft/soft.nix +++ b/hm/soft/soft.nix @@ -13,7 +13,7 @@ ./onlyoffice.nix ./spicetify.nix ./torrent.nix - ./vpn.nix ./yt-dlp.nix + ./sioyek.nix ]; } diff --git a/hm/soft/vpn.nix b/hm/soft/vpn.nix deleted file mode 100644 index 47bd959..0000000 --- a/hm/soft/vpn.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, lib, pkgs, ... }: -let - cfg = config.hm.soft.vpn; -in -{ - options.hm.soft.vpn = { - protonvpn.enable = lib.mkEnableOption "protonvpn"; - mullvad.enable = lib.mkEnableOption "mullvad vpn"; - }; - config = lib.mkMerge [ - (lib.mkIf cfg.mullvad.enable { - programs.mullvad-vpn = { - enable = true; - }; - }) - (lib.mkIf cfg.protonvpn.enable { - home.packages = [ pkgs.protonvpn-gui ]; - }) - ]; -} |
