2023-06-22 09:13:05 +01:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
2023-10-09 11:40:25 +01:00
|
|
|
|
{ config, lib, pkgs, ... }: {
|
2023-06-22 09:13:05 +01:00
|
|
|
|
# Setup keyfile
|
2023-08-03 21:26:48 +01:00
|
|
|
|
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
2023-06-22 09:13:05 +01:00
|
|
|
|
|
|
|
|
|
# Enable swap on luks
|
2023-08-03 21:26:48 +01: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
|
|
|
|
|
'';
|
2023-11-20 11:04:59 +00:00
|
|
|
|
systemPackages = with pkgs; [ openfortivpn zoom-us ];
|
2023-10-09 11:40:25 +01:00
|
|
|
|
};
|
2023-11-02 08:30:08 +00:00
|
|
|
|
programs.chromium.homepageLocation = "https://nucleus.ukaea.uk";
|
2023-06-22 09:13:05 +01:00
|
|
|
|
}
|