make bashrc available in netbox root account, too

This commit is contained in:
stupidcomputer 2024-10-28 23:44:26 -05:00
parent 2001e824a5
commit b2de08b2dc
1 changed files with 12 additions and 0 deletions

View File

@ -73,6 +73,18 @@
};
};
system.activationScripts = {
copyEssentialConfiguration = {
text = ''
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/bashrc /root/.bashrc
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/profile /root/.bash_profile
${pkgs.coreutils}/bin/mkdir -p /root/.config/nvim
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/nvim/init.min.lua /root/.config/nvim/init.lua
'';
deps = [];
};
};
boot.loader = {
grub.enable = true;
grub.device = "/dev/vda";