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/emacs/init.el | 1 - user/satoshipad.nix | 56 --------------------- user/settings/satoshipay.nix | 113 ------------------------------------------- 3 files changed, 170 deletions(-) delete mode 100644 user/satoshipad.nix delete mode 100644 user/settings/satoshipay.nix (limited to 'user') diff --git a/user/emacs/init.el b/user/emacs/init.el index b9c14a47..2f82ae9e 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -818,7 +818,6 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (fringe-helper-define 'flycheck-fringe-bitmap-double-arrow '(center repeated) "XXX.....")) -(setq gitlab-ci-url "https://gitlab.satoshipay.tech") (use-package gitlab-ci-mode-flycheck :ghook ('gitlab-ci-mode-hook (list #'gitlab-ci-mode-flycheck-enable #'flycheck-mode))) diff --git a/user/satoshipad.nix b/user/satoshipad.nix deleted file mode 100644 index 946b0390..00000000 --- a/user/satoshipad.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ config -, pkgs -, ... -}: { - imports = [ - ../private - - ./settings/base.nix - ./settings/chat.nix - ./settings/development/base.nix - ./settings/development/javascript.nix - ./settings/development/web.nix - ./settings/dunst.nix - ./settings/emacs.nix - ./settings/git.nix - ./settings/gnupg.nix - ./settings/i3.nix - ./settings/mail.nix - ./settings/music.nix - ./settings/nixos.nix - ./settings/rofi.nix - ./settings/passwords.nix - ./settings/satoshipay.nix - ./settings/sxhkd.nix - ./settings/tabnine.nix - ./settings/trezor.nix - ./settings/user-interface.nix - ./settings/xresources.nix - ]; - - home.sessionVariables.EMAIL = "alan@satoshipay.io"; - home.sessionVariables.BROWSER = "firefox-devedition"; - programs.tabnine.config.local_enabled = "No"; - - xsession.windowManager.i3 = { - config = { - startup = [ - { command = "firefox-devedition"; } - { command = "ripcord"; } - { command = "emacs"; } - ]; - }; - extraConfig = '' - workspace 1 output primary - workspace 2 output primary - workspace 3 output primary - workspace 4 output primary - workspace 5 output primary - workspace 6 output secondary - workspace 7 output secondary - workspace 8 output secondary - workspace 9 output secondary - workspace 10 output secondary - ''; - }; -} 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