Evie Litherland-Smith
5ff572a9b7
Move home/ directory under system/ directory. Remove duplicated machine-specific config files, now handled as one per host (excluding hardware-configuration directory) Move as much configuration as possible out of flake.nix and into more appropriate files (e.g. system/default.nix) Add a desktop.nix and laptop.nix for system, both will import home/desktop.nix and home/laptop.nix respectively to reduce duplication in machine-specific config files Remove games and streaming directories, moved directly into Vanguard config file Remove home/personal.nix since it ended up being empty after changes Remove old sway config since I haven't been maintaining it and this refactor will definitely break it
15 lines
423 B
Bash
Executable file
15 lines
423 B
Bash
Executable file
# Clone ~/.emacs.d/ if it doesn't exist
|
|
EMACS_DIR="$HOME/.emacs.d/"
|
|
if [ ! -d "$EMACS_DIR" ]; then
|
|
git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR"
|
|
fi
|
|
(
|
|
cd "$EMACS_DIR" || exit 1
|
|
# Pull changes by fast-forwarding only
|
|
git pull --ff --ff-only
|
|
# Update submodules for local packages
|
|
git submodule update --init --recursive
|
|
# Install and update extensions
|
|
make install
|
|
)
|