add stupid post-rebuild activationScripts

This commit is contained in:
stupidcomputer 2024-10-28 21:32:00 -05:00
parent 66a6fc1a7c
commit a7964a221f
1 changed files with 12 additions and 0 deletions

View File

@ -58,6 +58,18 @@
stateVersion = "23.05"; # don't change this, lol stateVersion = "23.05"; # don't change this, lol
}; };
system.userActivationScripts = {
copyBashRC = {
# we don't want to bring in the entirety of home-manager for this, so just
# write some files as a hack
text = ''
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/bashrc /home/ryan/.bashrc
${pkgs.coreutils}/bin/cp /home/ryan/dot_testing/.config/bash/profile /home/ryan/.bash_profile
'';
deps = [];
};
};
boot.loader = { boot.loader = {
grub.enable = true; grub.enable = true;
grub.device = "/dev/vda"; grub.device = "/dev/vda";