mirror of
https://github.com/danbulant/dotfiles
synced 2026-06-16 21:21:31 +00:00
11 lines
276 B
Bash
Executable file
11 lines
276 B
Bash
Executable file
#!/bin/bash
|
|
echo "Copying configurations"
|
|
cp .config/* ~/.config/ -r
|
|
cp .default-python-packages ~
|
|
if [ -z "$(which nh)" ]; then
|
|
sudo cp *.nix /etc/nixos/
|
|
sudo nixos-rebuild switch --show-trace
|
|
cp /etc/nixos/flake.lock .
|
|
else
|
|
nh os switch . -- --show-trace
|
|
fi
|