Only install nomachine on work machines
This commit is contained in:
parent
1091e67fe7
commit
95c41383cc
|
@ -1,7 +1,4 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
{ pkgs, ... }: {
|
||||||
# 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, ... }: {
|
|
||||||
# Setup keyfile
|
# Setup keyfile
|
||||||
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
||||||
|
|
||||||
|
@ -15,6 +12,6 @@
|
||||||
etc."ppp/options".text = ''
|
etc."ppp/options".text = ''
|
||||||
ipcp-accept-remote
|
ipcp-accept-remote
|
||||||
'';
|
'';
|
||||||
systemPackages = with pkgs; [ openfortivpn samba ];
|
systemPackages = with pkgs; [ openfortivpn samba nomachine-client ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
{ pkgs, ... }: {
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
|
|
||||||
# Setup keyfile
|
# Setup keyfile
|
||||||
|
@ -15,4 +9,11 @@
|
||||||
"/dev/disk/by-uuid/47d34268-5100-4eba-b34d-220f4239c1cb";
|
"/dev/disk/by-uuid/47d34268-5100-4eba-b34d-220f4239c1cb";
|
||||||
boot.initrd.luks.devices."luks-47d34268-5100-4eba-b34d-220f4239c1cb".keyFile =
|
boot.initrd.luks.devices."luks-47d34268-5100-4eba-b34d-220f4239c1cb".keyFile =
|
||||||
"/crypto_keyfile.bin";
|
"/crypto_keyfile.bin";
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
etc."ppp/options".text = ''
|
||||||
|
ipcp-accept-remote
|
||||||
|
'';
|
||||||
|
systemPackages = with pkgs; [ openfortivpn samba nomachine-client ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
libreoffice
|
libreoffice
|
||||||
remmina
|
remmina
|
||||||
minesweep-rs
|
minesweep-rs
|
||||||
nomachine-client
|
|
||||||
];
|
];
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
|
|
Loading…
Reference in a new issue