diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-01-07 12:00:08 -0500 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-01-07 12:00:08 -0500 |
commit | 7b79203f54853733d4fae88943829d0e24e6e49f (patch) | |
tree | a352d199fad7453332b9308a6295164157729f27 /modules/programs | |
parent | 184bd30bcb303104a4981ac742d8f8961c5477e7 (diff) | |
download | nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.gz nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.bz2 nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.zip |
massive overhaul
Diffstat (limited to 'modules/programs')
-rw-r--r-- | modules/programs/default.nix | 5 | ||||
-rw-r--r-- | modules/programs/newsboat.nix | 12 | ||||
-rw-r--r-- | modules/programs/programs.nix | 37 | ||||
-rw-r--r-- | modules/programs/tmux/default.nix | 42 |
4 files changed, 0 insertions, 96 deletions
diff --git a/modules/programs/default.nix b/modules/programs/default.nix deleted file mode 100644 index b90ff8f..0000000 --- a/modules/programs/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -[ - ./tmux - ./newsboat.nix - ./programs.nix -] diff --git a/modules/programs/newsboat.nix b/modules/programs/newsboat.nix deleted file mode 100644 index b37d765..0000000 --- a/modules/programs/newsboat.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ config, lib, pkgs, user, ... }: -with lib; -{ - config.home-manager.users.${user} = { - programs.newsboat = { - enable = true; - extraConfig = mkIf (config.xserver.enable) '' -macro y set browser "mpv %u" ; open-in-browser ; set browser "firefox %u" - ''; - }; - }; -} diff --git a/modules/programs/programs.nix b/modules/programs/programs.nix deleted file mode 100644 index ccc9019..0000000 --- a/modules/programs/programs.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ config, inputs, lib, pkgs, user, ... }: -with lib; -{ - config = mkIf (config.xserver.enable) - { - services.flatpak.enable = true; - xdg.portal = { - enable = true; - wlr.enable = true; - }; - - home-manager.users.${user} = { - home.packages = with pkgs; [ - libreoffice - hunspell - hunspellDicts.en_US - - flatpak - gnome.gnome-software - - (pass.withExtensions (exts: [exts.pass-otp ])) - thefuck - mpc-cli - pavucontrol - qbittorrent - ffmpeg - mpv - ]; - - programs.vscode = { - enable = true; - package = pkgs.vscode.fhs; - }; - - }; - }; -} diff --git a/modules/programs/tmux/default.nix b/modules/programs/tmux/default.nix deleted file mode 100644 index b141af6..0000000 --- a/modules/programs/tmux/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ config, lib, pkgs, user, ... }: -with lib; -{ - config.home-manager.users.${user} = { - programs.tmux = { - enable = true; - terminal = "tmux-256color"; - historyLimit = 10000; - plugins = with pkgs.tmuxPlugins; - [ - catppuccin - vim-tmux-navigator - sensible - yank - ]; - shell = "${pkgs.zsh}/bin/zsh"; - extraConfig = '' -set-option -sa terminal-overrides ",xterm*:Tc" -set -g mouse on - -unbind C-b -set -g prefix C-Space -bind C-Space send-prefix - -bind -n M-H previous-window -bind -n M-L next-window - -set -g base-index 1 -set -g pane-base-index 1 -set-window-option -g pane-base-index 1 -set-option -g renumber-windows on - -bind-key -T copy-mode-vi v send-keys -X begin-selection -bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle -bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel - -bind '"' split-window -v -c ''${pane_current_path}" -bind % split-window -h -c ''${pane_current_path}" - ''; - }; - }; -} |