aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/tools
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules/home/tools')
-rw-r--r--snowfall/modules/home/tools/bash/default.nix15
-rw-r--r--snowfall/modules/home/tools/btop/default.nix15
-rw-r--r--snowfall/modules/home/tools/default.nix15
-rw-r--r--snowfall/modules/home/tools/git/default.nix45
-rw-r--r--snowfall/modules/home/tools/gpg/default.nix32
-rw-r--r--snowfall/modules/home/tools/ssh/default.nix20
-rw-r--r--snowfall/modules/home/tools/tmux/default.nix15
-rw-r--r--snowfall/modules/home/tools/vim/default.nix43
-rw-r--r--snowfall/modules/home/tools/zoxide/default.nix15
9 files changed, 0 insertions, 215 deletions
diff --git a/snowfall/modules/home/tools/bash/default.nix b/snowfall/modules/home/tools/bash/default.nix
deleted file mode 100644
index d0f0d9d..0000000
--- a/snowfall/modules/home/tools/bash/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ options, config, lib, pkgs, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.bash;
-in {
- options.${namespace}.tools.bash = with types; {
- enable = mkEnableOption "bash";
- };
-
- config = mkIf cfg.enable {
- programs.bash = {
- enable = true;
- };
- };
-}
diff --git a/snowfall/modules/home/tools/btop/default.nix b/snowfall/modules/home/tools/btop/default.nix
deleted file mode 100644
index 87528a1..0000000
--- a/snowfall/modules/home/tools/btop/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ options, config, lib, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.btop;
-in {
- options.${namespace}.tools.btop = with types; {
- enable = mkEnableOption "btop";
- };
-
- config = mkIf cfg.enable {
- programs.btop = {
- enable = true;
- };
- };
-}
diff --git a/snowfall/modules/home/tools/default.nix b/snowfall/modules/home/tools/default.nix
deleted file mode 100644
index 9627d0f..0000000
--- a/snowfall/modules/home/tools/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ lib, pkgs, namespace, ... }:
-
-with lib; with lib.${namespace}; {
- imports = with pkgs; [
- (mkSimpleTool "cloc" {})
- (mkSimpleTool "ffmpeg" {})
- (mkSimpleTool "wine" {
- packages = [
- wineWowPackages.stable
- winetricks
- ];
- persist = [ ".wine" ];
- })
- ];
-}
diff --git a/snowfall/modules/home/tools/git/default.nix b/snowfall/modules/home/tools/git/default.nix
deleted file mode 100644
index 1780d80..0000000
--- a/snowfall/modules/home/tools/git/default.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ options, config, lib, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.git;
-in {
- options.${namespace}.tools.git = with types; {
- enable = mkEnableOption "git";
-
- name = mkOption {
- type = str;
- };
-
- email = mkOption {
- type = str;
- };
-
- key = mkOption {
- type = nullOr str;
- };
-
- sign = mkOption {
- type = bool;
- default = true;
- };
- };
-
- config = mkIf cfg.enable {
- programs.git = {
- enable = true;
-
- userName = cfg.name;
- userEmail = cfg.email;
-
- signing = {
- key = cfg.key;
- signByDefault = cfg.sign;
- };
-
- ignores = [
- "*~"
- "*.swp"
- ];
- };
- };
-}
diff --git a/snowfall/modules/home/tools/gpg/default.nix b/snowfall/modules/home/tools/gpg/default.nix
deleted file mode 100644
index 297d9d0..0000000
--- a/snowfall/modules/home/tools/gpg/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ options, config, lib, pkgs, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.gpg;
- impermanence = config.${namespace}.impermanence;
-in {
- options.${namespace}.tools.gpg = with types; {
- enable = mkEnableOption "gpg";
- };
-
- config = mkIf cfg.enable {
- home.persistence.${impermanence.secure.location} = {
- directories = [
- ".gnupg"
- ];
- };
-
- programs.gpg.enable = true;
-
- services.gpg-agent = {
- enable = true;
- enableSshSupport = true;
- pinentryPackage = (pkgs.writeShellScriptBin "pinentry-wrapper" ''
- if [[ -v DISPLAY ]]; then
- exec ${pkgs.pinentry-gnome3}/bin/pinentry-gnome3 "$@"
- fi
-
- exec ${pkgs.pinentry-gnome3}/bin/pinentry-tty "$@"
- '');
- };
- };
-}
diff --git a/snowfall/modules/home/tools/ssh/default.nix b/snowfall/modules/home/tools/ssh/default.nix
deleted file mode 100644
index 10139df..0000000
--- a/snowfall/modules/home/tools/ssh/default.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ options, config, lib, pkgs, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.ssh;
- impermanence = config.${namespace}.impermanence;
-in {
- options.${namespace}.tools.ssh = with types; {
- enable = mkEnableOption "ssh";
- };
-
- config = mkIf cfg.enable {
- home.persistence.${impermanence.secure.location} = {
- directories = [
- ".ssh"
- ];
- };
-
- programs.ssh.enable = true;
- };
-}
diff --git a/snowfall/modules/home/tools/tmux/default.nix b/snowfall/modules/home/tools/tmux/default.nix
deleted file mode 100644
index 3f9b7a0..0000000
--- a/snowfall/modules/home/tools/tmux/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ options, config, lib, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.tmux;
-in {
- options.${namespace}.tools.tmux = with types; {
- enable = mkEnableOption "tmux";
- };
-
- config = mkIf cfg.enable {
- programs.tmux = {
- enable = true;
- };
- };
-}
diff --git a/snowfall/modules/home/tools/vim/default.nix b/snowfall/modules/home/tools/vim/default.nix
deleted file mode 100644
index b07f8d4..0000000
--- a/snowfall/modules/home/tools/vim/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ options, config, lib, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.vim;
- theme = config.${namespace}.desktop.theme;
-in {
- options.${namespace}.tools.vim = with types; {
- enable = mkEnableOption "vim";
- };
-
- config = mkIf cfg.enable {
- home.file.".vim/vimrc".text = ''
- set number
- set relativenumber
- set showcmd
-
- set termguicolors
- set background=dark
- colorscheme ${theme.name}
-
- syntax on
-
- highlight Normal guibg=#000000
-
- " Awesome magical color override from
- " https://gist.github.com/romainl/379904f91fa40533175dfaec4c833f2f
- augroup MyColors
- autocmd!
- autocmd ColorScheme * highlight Normal guibg=#000000
- augroup END
- '';
-
- home.file.".vim/pack/default/start/gruvbox".source = builtins.fetchGit {
- url = "https://github.com/morhetz/gruvbox.git";
- rev = "f1ecde848f0cdba877acb0c740320568252cc482";
- };
-
- home.file.".vim/pack/all/start/vim-nix".source = builtins.fetchGit {
- url = "https://github.com/LnL7/vim-nix.git";
- rev = "e25cd0f2e5922f1f4d3cd969f92e35a9a327ffb0";
- };
- };
-}
diff --git a/snowfall/modules/home/tools/zoxide/default.nix b/snowfall/modules/home/tools/zoxide/default.nix
deleted file mode 100644
index 75db246..0000000
--- a/snowfall/modules/home/tools/zoxide/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ options, config, lib, namespace, ... }:
-
-with lib; with lib.${namespace}; let
- cfg = config.${namespace}.tools.zoxide;
-in {
- options.${namespace}.tools.zoxide = with types; {
- enable = mkEnableOption "zoxide";
- };
-
- config = mkIf cfg.enable {
- programs.zoxide = {
- enable = true;
- };
- };
-}