New service for end-script.sh
This commit is contained in:
@@ -874,7 +874,7 @@ This section describes the main system configuration for the computers that I ha
|
||||
./dev/terminal.nix
|
||||
./core/boot.nix
|
||||
./services/services.nix
|
||||
# ./end_script.nix
|
||||
./end_script.nix
|
||||
];
|
||||
|
||||
<<config-system-packages>>
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"agent": {
|
||||
"default_model": {
|
||||
"provider": "ollama",
|
||||
"model": "starcoder2:15b"
|
||||
},
|
||||
"favorite_models": [],
|
||||
"model_parameters": []
|
||||
},
|
||||
"auto_install_extensions": {
|
||||
"catppuccin-icons": true,
|
||||
"nix": true,
|
||||
"rust": true,
|
||||
"toml": true,
|
||||
"org-mode": true
|
||||
},
|
||||
"icon_theme": "Catppuccin Mocha",
|
||||
"language_models": {
|
||||
"ollama": {
|
||||
"api_url": "http://localhost:11434",
|
||||
"auto_discover": true,
|
||||
"context_window": 8192
|
||||
}
|
||||
},
|
||||
"theme": {
|
||||
"dark": "Catppuccin Mocha (blue)",
|
||||
"light": "Catppuccin Mocha (blue)"
|
||||
}
|
||||
}
|
||||
@@ -4,14 +4,14 @@ set -euo pipefail
|
||||
#creating a timestamp-file to see whether this script ran
|
||||
TIMESTAMP_FILE="$HOME/nixos_conf/nixos_timestamp.txt"
|
||||
date +"%Y-%m-%d %H:%M:%S" > "$TIMESTAMP_FILE"
|
||||
echo "File created"
|
||||
echo "File $TIMESTAMP_FILE created"
|
||||
|
||||
#cleaning up .backup files (do not worry, they exist safely in ./assets/copy_stuff/.config)
|
||||
find ~/.config -name "*.backup" -delete
|
||||
echo "Files deleted"
|
||||
echo "~/.config/*.backup files deleted"
|
||||
|
||||
#copying stuff from assets/copy_stuff to ~
|
||||
echo $(pwd)
|
||||
echo "Now in path $(pwd)"
|
||||
COPY_SCRIPT="./copy_stuff.sh"
|
||||
if [ ! -f "$COPY_SCRIPT" ]; then
|
||||
echo "Error: Script $COPY_SCRIPT does not exist."
|
||||
|
||||
Reference in New Issue
Block a user