This commit is contained in:
Hadi 2024-06-17 16:33:34 +02:00 committed by GitHub
parent 8b2f8c08d3
commit 3f613c9910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 24 additions and 3 deletions

View File

@ -0,0 +1,2 @@
# for file in ./docs/src/*.png
# optipng $file

View 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"

View File

@ -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

View File

@ -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
View File

View File

@ -16,7 +16,7 @@
./treesitter.nix
./toggleterm.nix
./copilot.nix
./obsidian.nix
./obsidian.nix # make conditional
./whichkey.nix
./alpha.nix
./keymaps.nix

View File

@ -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;
};