add stupid post-rebuild activationScripts
This commit is contained in:
parent
66a6fc1a7c
commit
a7964a221f
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue