Only install nomachine on work machines

This commit is contained in:
Evie Litherland-Smith 2023-12-26 10:29:20 +00:00
parent 1091e67fe7
commit 95c41383cc
3 changed files with 10 additions and 13 deletions

View file

@ -1,7 +1,4 @@
# 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).
{ config, lib, pkgs, ... }: {
{ pkgs, ... }: {
# Setup keyfile
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
@ -15,6 +12,6 @@
etc."ppp/options".text = ''
ipcp-accept-remote
'';
systemPackages = with pkgs; [ openfortivpn samba ];
systemPackages = with pkgs; [ openfortivpn samba nomachine-client ];
};
}

View file

@ -1,10 +1,4 @@
# 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).
{ config, pkgs, ... }:
{
{ pkgs, ... }: {
boot.loader.efi.efiSysMountPoint = "/boot/efi";
# Setup keyfile
@ -15,4 +9,11 @@
"/dev/disk/by-uuid/47d34268-5100-4eba-b34d-220f4239c1cb";
boot.initrd.luks.devices."luks-47d34268-5100-4eba-b34d-220f4239c1cb".keyFile =
"/crypto_keyfile.bin";
environment = {
etc."ppp/options".text = ''
ipcp-accept-remote
'';
systemPackages = with pkgs; [ openfortivpn samba nomachine-client ];
};
}

View file

@ -16,7 +16,6 @@
libreoffice
remmina
minesweep-rs
nomachine-client
];
security = {