gpt4all: properly handle newlines in system prompt
This commit is contained in:
@@ -111,17 +111,15 @@
|
||||
security.pam.services.swaylock = { };
|
||||
|
||||
system.activationScripts = {
|
||||
|
||||
"secureboot-keys".text =
|
||||
let
|
||||
secureboot_path = "/etc/secureboot";
|
||||
in
|
||||
''
|
||||
#!/bin/sh
|
||||
rm -fr ${secureboot_path}
|
||||
rm -fr ${secureboot_path} || true
|
||||
mkdir -p ${secureboot_path}
|
||||
${pkgs.gnutar}/bin/tar xf /etc/nixos/secrets/secureboot.tar -C ${secureboot_path}
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user