From 85d1e83f311271adab7db83dcce4d8003c693936 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 22 Nov 2023 16:51:27 +0100 Subject: Remove SatoshiPay --- user/settings/satoshipay.nix | 113 ------------------------------------------- 1 file changed, 113 deletions(-) delete mode 100644 user/settings/satoshipay.nix (limited to 'user/settings') 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/ - ''; -} -- cgit 1.4.1