2024-02-07 07:42:56 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-06-22 09:13:05 +01:00
|
|
|
# Setup keyfile
|
2024-01-30 14:21:50 +00:00
|
|
|
boot.initrd.secrets = {"/crypto_keyfile.bin" = null;};
|
2023-06-22 09:13:05 +01:00
|
|
|
|
|
|
|
# Enable swap on luks
|
2024-01-30 14:21:50 +00:00
|
|
|
boot.initrd.luks.devices."luks-761eeb11-3091-4142-9232-4fb33165eccd".device = "/dev/disk/by-uuid/761eeb11-3091-4142-9232-4fb33165eccd";
|
|
|
|
boot.initrd.luks.devices."luks-761eeb11-3091-4142-9232-4fb33165eccd".keyFile = "/crypto_keyfile.bin";
|
2023-06-22 09:13:05 +01:00
|
|
|
|
2023-10-09 11:40:25 +01:00
|
|
|
environment = {
|
|
|
|
etc."ppp/options".text = ''
|
|
|
|
ipcp-accept-remote
|
|
|
|
'';
|
2024-02-09 06:39:18 +00:00
|
|
|
systemPackages = with pkgs; [openfortivpn samba];
|
2023-10-09 11:40:25 +01:00
|
|
|
};
|
2024-02-27 16:04:23 +00:00
|
|
|
services.ollama.enable = true;
|
2024-02-07 07:42:56 +00:00
|
|
|
programs.firefox.policies.Homepage.URL = lib.mkForce "https://nucleus.ukaea.uk";
|
2023-06-22 09:13:05 +01:00
|
|
|
}
|