Changes for lambda

This commit is contained in:
Root 2021-07-25 22:45:36 -07:00
parent b415eb0550
commit 0a179163b3
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ in {
"/" = {
device = "none";
fsType = "tmpfs";
options = [ "noexec" ];
options = [ "noexec" "mode=755" ];
};
"/nix" = {

View File

@ -3,7 +3,7 @@
let
shinobi-port = "7080";
shinobi-od-port = "7082";
state-dir = /state;
state-dir = "/state"; # This must be a string!
in {
boot.loader.grub.copyKernels = true;
@ -37,7 +37,7 @@ in {
"L /root/.gnupg - - - - ${state-dir}/user/root/gnupg"
# "L /root/.emacs.d - - - - ${state-dir}/user/root/emacs.d"
"L /root/.ssh/id_rsa - - - - ${state-dir}/user/root/ssh/id_rsa"
"L /root/.ssh/id_rsa.pub - - - - ${state-dir}/state/root/ssh/id_rsa.pub"
"L /root/.ssh/id_rsa.pub - - - - ${state-dir}/user/root/ssh/id_rsa.pub"
"L /root/.ssh/known_hosts - - - - ${state-dir}/user/root/ssh/known_hosts"
];