diff options
author | Alan Pearce | 2023-11-22 16:51:27 +0100 |
---|---|---|
committer | Alan Pearce | 2023-11-22 16:51:27 +0100 |
commit | 85d1e83f311271adab7db83dcce4d8003c693936 (patch) | |
tree | 4427a1ee6e1a268ab9bba02f2b0e238a4189e21a /user/settings | |
parent | c43fdf64b5fc45e36c1d6f6b1ac64a744bb1b16f (diff) | |
download | nixfiles-85d1e83f311271adab7db83dcce4d8003c693936.tar.lz nixfiles-85d1e83f311271adab7db83dcce4d8003c693936.tar.zst nixfiles-85d1e83f311271adab7db83dcce4d8003c693936.zip |
Remove SatoshiPay
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/satoshipay.nix | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/user/settings/satoshipay.nix b/user/settings/satoshipay.nix deleted file mode 100644 index 558f8791..00000000 --- a/user/settings/satoshipay.nix +++ /dev/null @@ -1,113 +0,0 @@ -{ config -, lib -, pkgs -, ... -}: -let - inherit (pkgs) stdenv; - spGitConfig = { - user.email = "alan@satoshipay.io"; - }; -in -{ - imports = [ - ./development/javascript.nix - ./development/web.nix - ]; - - home.sessionVariables = { - KUBECTX_IGNORE_FZF = "1"; - }; - home.packages = with pkgs; ([ - caddy - openssl - mongodb-tools - pgcli - pgformatter - postgresql - s3cmd - sops - - lumen - - mkcert - google-cloud-sdk - doctl - kubectl - kubetail - kubectx - kubernetes-helm - helmfile - ] - ++ (lib.optionals (!stdenv.isDarwin) - [ - docker-compose - - ripcord - robo3t - ])); - programs.emacs.extraPackages = epkgs: (with epkgs; [ - gitlab-ci-mode - gitlab-ci-mode-flycheck - k8s-mode - kubel - kubel-evil - ] ++ lib.optionals (!stdenv.isDarwin) [ - pkgs.mu - ]); - - programs.git.includes = [ - { - condition = "gitdir:~/projects/github.com/satoshipay/"; - contents = spGitConfig; - } - { - condition = "gitdir:~/projects/gitlab.satoshipay.tech/"; - contents = spGitConfig; - } - ]; - - home.shellAliases = { - kns = "kubens"; - kx = "kubectx"; - ks = "echo $(kubectx -c):$(kubens -c)"; - klot = "kubetail"; - }; - - accounts.email.accounts.satoshipay = - let - address = "alan@satoshipay.io"; - in - { - inherit address; - primary = lib.mkDefault true; - realName = "Alan Pearce"; - flavor = "gmail.com"; - passwordCommand = "${pkgs.python3Packages.keyring}/bin/keyring get satoshipay-google-mail ${address}"; - folders = { - inbox = "INBOX"; - drafts = "[Gmail]/Drafts"; - sent = "[Gmail]/Sent Mail"; - trash = "[Gmail]/Bin"; - }; - imap = { - tls.enable = true; - }; - smtp = { - tls.enable = true; - }; - mbsync = { - enable = true; - create = "maildir"; - remove = "maildir"; - expunge = "both"; - }; - msmtp = { - enable = true; - }; - }; - - xdg.configFile."npm/config".text = '' - @satoshipay:registry=https://registry.npmjs.org/ - ''; -} |