make bashrc available in netbox root account, too
This commit is contained in:
parent
2001e824a5
commit
b2de08b2dc
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue