temp
This commit is contained in:
parent
8b2f8c08d3
commit
3f613c9910
2
docs/scripts/compress_src_png.sh
Normal file
2
docs/scripts/compress_src_png.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# for file in ./docs/src/*.png
|
||||
# optipng $file
|
@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script is used to copy my own configuration to the `./hosts/guest` one, and changing some settings
|
||||
|
||||
[[ -d "./hosts" ]] || (
|
||||
exit 1
|
||||
echo "Folder ./hosts not found"
|
||||
exit 1
|
||||
)
|
||||
|
||||
LAPTOP_CONFIG="./hosts/laptop"
|
||||
@ -23,4 +25,5 @@ variables=$(echo "$variables" | sed 's/hadi/your_username/')
|
||||
variables=$(echo "$variables" | sed 's/Hadi/your_username/')
|
||||
variables=$(echo "$variables" | sed 's/sops = true/sops = false/')
|
||||
variables=$(echo "$variables" | sed 's/nextcloud = true/nextcloud = false/')
|
||||
variables=$(echo "$variables" | sed 's/obsidian = true/obsidian = false/')
|
||||
echo "$variables" >"$GUEST_CONFIG/variables.nix"
|
||||
|
@ -1 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check if file exist: ./docs/src/README_template.md
|
||||
# copy ./docs/src/README_template.md
|
||||
# replace {md_table_of_content} by the table of content
|
||||
# place it in ./README.md
|
@ -0,0 +1,10 @@
|
||||
# installation script...
|
||||
|
||||
# check if on nixos
|
||||
# check if ./hosts exist
|
||||
# check if gum is installed (dependencie)
|
||||
# save path
|
||||
# remove .git
|
||||
# git init and initial commit
|
||||
# create custom configuration
|
||||
# save it to ./hosts
|
0
docs/todo.md
Normal file
0
docs/todo.md
Normal file
@ -16,7 +16,7 @@
|
||||
./treesitter.nix
|
||||
./toggleterm.nix
|
||||
./copilot.nix
|
||||
./obsidian.nix
|
||||
./obsidian.nix # make conditional
|
||||
./whichkey.nix
|
||||
./alpha.nix
|
||||
./keymaps.nix
|
||||
|
@ -21,8 +21,9 @@
|
||||
|
||||
autoUpgrade = false;
|
||||
autoGarbageCollector = false;
|
||||
sops = true;
|
||||
sops = true; # change the sops configuration if you want to enable that
|
||||
nextcloud = true;
|
||||
obsidian = true; # change the nvim's obsidian configuration if you want to enable that
|
||||
|
||||
theme = import ../themes/nixy.nix;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user