From b24720d9218e0b749ca6a7b9d5af9d67bea3ba02 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 12 Jan 2025 13:35:32 -0800 Subject: [PATCH] chore: Remove uneeded old files --- old/home/languages/javascript.nix | 10 -------- old/home/languages/nix.nix | 9 ------- old/home/languages/php.nix | 8 ------ old/shells/base.nix | 42 ------------------------------- old/shells/nix.nix | 8 ------ 5 files changed, 77 deletions(-) delete mode 100644 old/home/languages/javascript.nix delete mode 100644 old/home/languages/nix.nix delete mode 100644 old/home/languages/php.nix delete mode 100644 old/shells/base.nix delete mode 100644 old/shells/nix.nix diff --git a/old/home/languages/javascript.nix b/old/home/languages/javascript.nix deleted file mode 100644 index 7033aad..0000000 --- a/old/home/languages/javascript.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ ... }: -{ - programs.bun = { - enable = true; - - settings = { - telemetry = false; - }; - }; -} diff --git a/old/home/languages/nix.nix b/old/home/languages/nix.nix deleted file mode 100644 index fbd0ea3..0000000 --- a/old/home/languages/nix.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ - nixfmt-rfc-style - nil - statix - manix - ]; -} diff --git a/old/home/languages/php.nix b/old/home/languages/php.nix deleted file mode 100644 index 1962cbd..0000000 --- a/old/home/languages/php.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ ... }: -{ - home.shellAbbrs = { - p = "php"; - pa = "php artisan"; - a = "php artisan"; - }; -} diff --git a/old/shells/base.nix b/old/shells/base.nix deleted file mode 100644 index 88123d5..0000000 --- a/old/shells/base.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ pkgs, ... }: -{ - packages = with pkgs; [ - nix-direnv - gnupg - git - bitwarden-cli - ]; - - scripts.download_gpg_key.exec = # bash - '' - if ! bw login --check; then - echo "Please run `bw login`" - exit 1 - fi - - bw sync && \ - bw get attachment private.key --itemid 335ce92f-974a-44d4-bc1c-b226005203f3 --output private.key && \ - echo "Please run `set_gpg_tty && import_gpg_key`" - ''; - - scripts.set_gpg_tty.exec = # bash - '' - export GPG_TTY="$(tty)" - ''; - - scripts.import_gpg_key.exec = # bash - '' - exec gpg --import private.key - ''; - - scripts.gpg_no_pinentry.exec = # bash - '' - pkill gpg-agent - gpg-agent --pinentry-program=/usr/bin/pinentry-curses --daemon - ''; - - scripts.git_allow_push.exec = # bash - '' - git config http.version HTTP/1.1 - ''; -} diff --git a/old/shells/nix.nix b/old/shells/nix.nix deleted file mode 100644 index 371ebd1..0000000 --- a/old/shells/nix.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: -{ - languages.nix.enable = true; - - packages = with pkgs; [ - nixfmt-rfc-style - ]; -}