nixos-build.sh now copies files properly

This commit is contained in:
Sven Vogel 2023-11-22 18:50:52 +01:00
parent 17880ab25c
commit deebae2a46
4 changed files with 10 additions and 4 deletions

View File

@ -174,6 +174,8 @@ in
environment.systemPackages = (with pkgs; [ environment.systemPackages = (with pkgs; [
(python3.withPackages(python-packages)) (python3.withPackages(python-packages))
conda
virt-manager virt-manager
distrobox distrobox

View File

@ -4,5 +4,7 @@
shellcheck shellcheck
lua-language-server lua-language-server
pyright pyright
arduino-language-server
clang
]; ];
} }

View File

@ -6,8 +6,10 @@ read -r choice
case "$choice" in case "$choice" in
y|Y ) y|Y )
echo "copying files..." echo "copying files..."
cp -rv extra /etc/nixos/ cp -rv dev /etc/nixos
cp -rv users /etc/nixos/users cp -rv core /etc/nixos
cp -rv extra /etc/nixos
cp -rv users /etc/nixos
cp -rv *.nix /etc/nixos/ cp -rv *.nix /etc/nixos/
;; ;;
n|N ) n|N )

View File

@ -171,8 +171,8 @@
xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings
xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption
# kitty configuration # kitty configuration
xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf;
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf;
# ------------------------------------------------------ # ------------------------------------------------------
# ZSH # ZSH