From b4d1d36e4c89ffcba1e8908a0e1ad25270af9f99 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Mon, 29 Apr 2024 01:25:37 +0700 Subject: [PATCH] chore: remove nix See https://save-nix-together.org/ --- data/atuin/config.toml | 2 +- scripts/brew_init.sh | 9 ++++++++- scripts/cargo.sh | 2 +- scripts/cargo_force.sh | 2 +- scripts/nix_init.sh | 12 ------------ scripts/nix_maintain.sh | 16 ---------------- scripts/pipx_init.sh | 1 - 7 files changed, 11 insertions(+), 33 deletions(-) delete mode 100755 scripts/nix_init.sh delete mode 100755 scripts/nix_maintain.sh diff --git a/data/atuin/config.toml b/data/atuin/config.toml index 75122d5..fe36f31 100644 --- a/data/atuin/config.toml +++ b/data/atuin/config.toml @@ -24,5 +24,5 @@ enter_accept = false prefers_reduced_motion = true [stats] -common_subcommands = ["brew", "cargo", "g", "git", "go", "nix-env"] +common_subcommands = ["brew", "cargo", "g", "git", "go"] common_prefix = ["sudo"] diff --git a/scripts/brew_init.sh b/scripts/brew_init.sh index 9b8603b..d4d97f1 100755 --- a/scripts/brew_init.sh +++ b/scripts/brew_init.sh @@ -1,3 +1,10 @@ #!/usr/bin/env bash -brew install libgit2 pcre2 xz +brew install \ + libgit2 pcre2 xz \ + git neovim \ + fdupes rsync rclone restic taskwarrior-tui \ + yt-dlp newsboat \ + btop \ + clang-format pipx marksman moar \ + qmk diff --git a/scripts/cargo.sh b/scripts/cargo.sh index 8b2765f..d558190 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -6,7 +6,7 @@ cargo install --quiet --locked \ fd-find bat git-delta eza sd tlrc \ difftastic vivid zellij zoxide atuin gitui \ fnm stylua taplo-cli \ - yazi-fm pokeget \ + pokeget \ daktilo cargo install --quiet --locked ripgrep --features 'pcre2' diff --git a/scripts/cargo_force.sh b/scripts/cargo_force.sh index 06be222..12d76bb 100755 --- a/scripts/cargo_force.sh +++ b/scripts/cargo_force.sh @@ -4,7 +4,7 @@ cargo install --quiet --force --locked \ fd-find bat git-delta eza sd tlrc \ difftastic vivid zellij zoxide atuin gitui \ fnm stylua taplo-cli \ - yazi-fm pokeget \ + pokeget \ daktilo cargo install --quiet --force --locked ripgrep --features 'pcre2' diff --git a/scripts/nix_init.sh b/scripts/nix_init.sh deleted file mode 100755 index 6659fd9..0000000 --- a/scripts/nix_init.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -sudo -i sh -c 'nix-channel --update --quiet' - -nix-env -iA \ - nixpkgs.less nixpkgs.curl \ - nixpkgs.git nixpkgs.neovim \ - nixpkgs.fdupes nixpkgs.rsync nixpkgs.rclone nixpkgs.restic nixpkgs.taskwarrior \ - nixpkgs.ffmpegthumbnailer nixpkgs.asciinema-agg nixpkgs.yt-dlp nixpkgs.libjxl nixpkgs.newsboat \ - nixpkgs.btop \ - nixpkgs.clang-tools nixpkgs.pipx nixpkgs.marksman nixpkgs.moar \ - nixpkgs.qmk diff --git a/scripts/nix_maintain.sh b/scripts/nix_maintain.sh deleted file mode 100755 index 106682f..0000000 --- a/scripts/nix_maintain.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -sudo -i sh -c 'nix-channel --update --quiet' -sudo -i sh -c 'nix-env -uA nixpkgs.nix' -sudo -i sh -c 'nix-collect-garbage -d --quiet' - -nix-env -uA \ - nixpkgs.less nixpkgs.curl \ - nixpkgs.git nixpkgs.neovim \ - nixpkgs.fdupes nixpkgs.rsync nixpkgs.rclone nixpkgs.restic nixpkgs.taskwarrior \ - nixpkgs.ffmpegthumbnailer nixpkgs.asciinema-agg nixpkgs.yt-dlp nixpkgs.libjxl nixpkgs.newsboat \ - nixpkgs.btop \ - nixpkgs.clang-tools nixpkgs.pipx nixpkgs.marksman nixpkgs.moar \ - nixpkgs.qmk - -nix-collect-garbage -d --quiet diff --git a/scripts/pipx_init.sh b/scripts/pipx_init.sh index 08ea059..0be803e 100755 --- a/scripts/pipx_init.sh +++ b/scripts/pipx_init.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash pipx ensurepath -pipx install asciinema pipx install uv pipx install ruff pipx install pyright