Compare commits
2 Commits
b2de08b2dc
...
77f848e319
Author | SHA1 | Date | |
---|---|---|---|
77f848e319 | |||
15f2580cab |
@ -59,6 +59,10 @@
|
|||||||
stateVersion = "23.05"; # don't change this, lol
|
stateVersion = "23.05"; # don't change this, lol
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.journald.extraConfig = ''
|
||||||
|
SystemMaxUse=2G
|
||||||
|
'';
|
||||||
|
|
||||||
system.userActivationScripts = {
|
system.userActivationScripts = {
|
||||||
copyEssentialConfiguration = {
|
copyEssentialConfiguration = {
|
||||||
# we don't want to bring in the entirety of home-manager for this, so just
|
# we don't want to bring in the entirety of home-manager for this, so just
|
||||||
|
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp $src/rebuild $out/bin
|
cp $src/rebuild $out/bin
|
||||||
|
cp $src/git-rebuild $out/bin
|
||||||
wrapProgram $out/bin/rebuild --prefix PATH : ${lib.makeBinPath [ bash ]}
|
wrapProgram $out/bin/rebuild --prefix PATH : ${lib.makeBinPath [ bash ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
10
builds/rebuild/git-rebuild
Executable file
10
builds/rebuild/git-rebuild
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# make sure we're in dot_testing
|
||||||
|
cd ~/dot_testing
|
||||||
|
|
||||||
|
git pull
|
||||||
|
git stash
|
||||||
|
git rebase
|
||||||
|
|
||||||
|
rebuild
|
Loading…
Reference in New Issue
Block a user