Give socrates root 12G to work with.

This commit is contained in:
niten 2021-10-15 17:39:24 -07:00
parent 7cf751b013
commit 455bdf4942
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
"/" = { "/" = {
device = "socrates-root"; device = "socrates-root";
fsType = "tmpfs"; fsType = "tmpfs";
options = [ "mode=755" ]; options = [ "mode=755" "size=12G" ];
}; };
"/boot" = { "/boot" = {

View File

@ -117,7 +117,6 @@ in {
environment.etc = { environment.etc = {
# TODO: replace with current config # TODO: replace with current config
nixos.source = "/state/nixos"; nixos.source = "/state/nixos";
adjtime.source = "/state/etc/adjtime";
NIXOS.source = "/state/etc/NIXOS"; NIXOS.source = "/state/etc/NIXOS";
"host-config.nix".source = "/state/etc/host-config.nix"; "host-config.nix".source = "/state/etc/host-config.nix";
}; };
@ -128,6 +127,7 @@ in {
''; '';
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"L /etc/adjtime - - - - /state/etc/adjtime"
"L /root/.gnupg - - - - /state/root/gnupg" "L /root/.gnupg - - - - /state/root/gnupg"
"L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa" "L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa"
"L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub" "L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub"