gpt4all: properly handle newlines in system prompt
This commit is contained in:
6
nix/etcnixos/flake.lock
generated
6
nix/etcnixos/flake.lock
generated
@@ -332,11 +332,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1726844355,
|
||||
"narHash": "sha256-sbvo+lzHkAdQp7lum7/IbJtUMLJQSoERsQI2Zoytg7I=",
|
||||
"lastModified": 1726856061,
|
||||
"narHash": "sha256-aHq3GDX5dNDuNy37TKTY/BD3+2vakPP8W+kNt7p0PZk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ff5752aab38a462024e8fce1475e37dcbd0e7526",
|
||||
"rev": "a0d059de3645c1b598d258675aaaa9ffdb0039b1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -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