Skip to content

Commit 994764a

Browse files
authored
feat: flox this stuff (#1)
1 parent bd84ca3 commit 994764a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+396
-2419
lines changed

.chezmoi.toml.tmpl

+3-40
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,15 @@
1212
#
1313
# This file supports Go's text/template language. */}}
1414

15-
{{ $install_onepassword := false -}}
16-
{{ $install_astronvim := false -}}
17-
{{ $install_emacs := false -}}
18-
{{ $install_ruby := false -}}
19-
{{ $install_python := false -}}
20-
{{ $install_golang := false -}}
21-
{{ $install_rust := false -}}
22-
{{ $install_puppet := false -}}
23-
{{ $install_starship := false -}}
24-
{{ $install_obsidian := false -}}
25-
{{ $install_alacritty := false -}}
26-
{{ $install_krew := false -}}
27-
{{ $email := "" -}}
2815
{{ $name := "" -}}
16+
{{ $email := "" -}}
2917
{{ $signingkey := "" -}}
3018
{{ $colortheme := "" }}
3119
{{- if stdinIsATTY -}}
32-
{{ $install_astronvim = promptBoolOnce .install "astronvim" "Install AstroNvim" -}}
33-
{{ $install_emacs = promptBoolOnce .install "emacs" "Install Doom Emacs" -}}
34-
{{ $install_ruby = promptBoolOnce .install "ruby" "Install Ruby" -}}
35-
{{ $install_python = promptBoolOnce .install "python" "Install Python" -}}
36-
{{ $install_golang = promptBoolOnce .install "golang" "Install Go" -}}
37-
{{ $install_rust = promptBoolOnce .install "rust" "Install Rust" -}}
38-
{{ $install_puppet = promptBoolOnce .install "puppet" "Install Puppet" -}}
39-
{{ $install_starship = promptBoolOnce .install "starship" "Install Starship" -}}
40-
{{ $install_obsidian = promptBoolOnce .install "obsidian" "Install Obsidian" -}}
41-
{{ $install_alacritty = promptBoolOnce .install "alacritty" "Install Alacritty" -}}
42-
{{ $install_krew = promptBoolOnce .install "krew" "Install Krew" -}}
43-
{{ $email = promptStringOnce . "email" "Email address" -}}
4420
{{ $name = promptStringOnce . "name" "Name" -}}
21+
{{ $email = promptStringOnce . "email" "Email address" -}}
4522
{{ $signingkey = promptStringOnce . "signingkey" "Signing key" -}}
46-
{{ $colortheme = promptStringOnce . "colortheme" "Color theme (nord/dracula/dracula-pro)" }}
23+
{{ $colortheme = promptStringOnce . "colortheme" "Color theme (nord/dracula/dracula-pro/gruvbox-dark)" }}
4724
{{- end -}}
4825

4926
{{- $osid := .chezmoi.os -}}
@@ -62,20 +39,6 @@ progress = true
6239
signingkey = {{ $signingkey | quote }}
6340
osid = {{ $osid | quote }}
6441
colortheme = {{ $colortheme | quote }}
65-
[data.enable]
66-
zellij_autostart = true
67-
[data.install]
68-
astronvim = {{ $install_astronvim }}
69-
emacs = {{ $install_emacs }}
70-
ruby = {{ $install_ruby }}
71-
python = {{ $install_python }}
72-
golang = {{ $install_golang }}
73-
rust = {{ $install_rust }}
74-
puppet = {{ $install_puppet }}
75-
starship = {{ $install_starship }}
76-
obsidian = {{ $install_obsidian }}
77-
alacritty = {{ $install_alacritty }}
78-
krew = {{ $install_krew }}
7942

8043
[diff]
8144
exclude = ["scripts"]

.chezmoidata/packages.yaml

-24
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
packages:
3-
43
darwin:
54
brews:
65
- antidote
@@ -29,40 +28,17 @@ packages:
2928
- slack
3029

3130
linux_fedora:
32-
copr:
33-
- atim/bottom
34-
- atim/lazygit
35-
- varlad/zellij
3631
groups:
3732
- Development Tools
3833
- C Development Tools and Libraries
3934
packages:
40-
- bottom
4135
- bzip2-devel
42-
- cargo
4336
- distrobox
4437
- dnf-plugins-core
45-
- eza
4638
- fzf
4739
- gh
4840
- git
49-
- golang
5041
- jq
51-
- lazygit
52-
- llvm
53-
- lua-devel
54-
- luajit
55-
- luajit-devel
56-
- luarocks
57-
- mc
5842
- neovim
59-
- nodejs
60-
- poetry
61-
- python3
62-
- python3-devel
63-
- python3-pip
64-
- python3-tkinter
6543
- ranger
6644
- ripgrep
67-
- tk
68-
- zellij

.chezmoidata/versions.yaml

-12
This file was deleted.

.chezmoiexternal.toml.tmpl

-14
This file was deleted.

.chezmoiversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.45.0

.hook-scripts/pre-source-state/10-password-manager.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Linux)
1818
;;
1919
*)
2020
echo "${red}Unsupported OS${reset}"
21-
exit 1
21+
exit 0
2222
;;
2323
esac
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
3+
# exit if Flox is already installed
4+
command -v flox &>/dev/null && exit
5+
6+
BASE_DIR=".local/share/chezmoi"
7+
8+
. "${BASE_DIR}/script_utils.sh"
9+
10+
case "$(uname -s)" in
11+
Darwin)
12+
;;
13+
Linux)
14+
echo "${green}Installing Flox${reset}"
15+
sudo rpm -i https://flox-installers.s3.amazonaws.com/by-channel/nightly/rpm/flox.x86_64-linux.rpm
16+
;;
17+
*)
18+
echo "${red}Unsupported OS${reset}"
19+
exit 0
20+
;;
21+
esac

.luacheckrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
private_dot_config/nvim/lua/user/dot_luacheckrc
1+
private_dot_config/nvim/lua/exact_user/dot_luacheckrc

.stylua.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
private_dot_config/nvim/lua/user/dot_stylua.toml
1+
private_dot_config/nvim/lua/exact_user/dot_stylua.toml

dot_bashrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
export PATH
1515

1616
# Uncomment the following line if you don't like systemctl's auto-paging feature:
17-
# export SYSTEMD_PAGER=
17+
export SYSTEMD_PAGER=
1818

1919
# User specific aliases and functions
2020
if [ -d "${HOME}/.bashrc.d" ]; then

0 commit comments

Comments
 (0)