m : update legacy options ,remove honeyd usage in shoney
This commit is contained in:
parent
d0f840a132
commit
a4b4226d5e
|
@ -17,9 +17,6 @@ in {
|
|||
];
|
||||
|
||||
|
||||
environment.systemPackages = [ pkgs.honeyd ];
|
||||
services.tinc.networks.siem.name = "sjump";
|
||||
|
||||
krebs = {
|
||||
enable = true;
|
||||
build.host = config.krebs.hosts.shoney;
|
||||
|
|
|
@ -66,7 +66,7 @@ with config.krebs.lib;
|
|||
startAgent = false;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
nix.useChroot = true;
|
||||
nix.useSandbox = true;
|
||||
|
||||
users.mutableUsers = false;
|
||||
|
||||
|
|
|
@ -8,10 +8,9 @@ with config.krebs.lib;
|
|||
kernelModules = [ "kvm-intel" "acpi_call" "tpm-rng" ];
|
||||
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
|
||||
};
|
||||
|
||||
hardware.opengl.extraPackages = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
|
||||
services.xserver = {
|
||||
videoDriver = "intel";
|
||||
vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
|
||||
deviceSection = ''
|
||||
Option "AccelMethod" "sna"
|
||||
'';
|
||||
|
|
|
@ -2,20 +2,22 @@
|
|||
|
||||
let
|
||||
mainUser = config.krebs.build.user;
|
||||
version = "5.0.20";
|
||||
rev = "106931";
|
||||
vboxguestpkg = pkgs.fetchurl {
|
||||
vboxguestpkg = lib.stdenv.mkDerivation rec {
|
||||
name = "Virtualbox-Extensions-${version}-${rev}";
|
||||
version = "5.0.20";
|
||||
rev = "106931";
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://download.virtualbox.org/virtualbox/${version}/Oracle_VM_VirtualBox_Extension_Pack-${version}-${rev}.vbox-extpack";
|
||||
sha256 = "1dc70x2m7x266zzw5vw36mxqj7xykkbk357fc77f9zrv4lylzvaf";
|
||||
};
|
||||
};
|
||||
in {
|
||||
#inherit vboxguestpkg;
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
nixpkgs.config.virtualbox.enableExtensionPack = true;
|
||||
|
||||
users.extraGroups.vboxusers.members = [ "${mainUser.name}" ];
|
||||
nixpkgs.config.packageOverrides = super: {
|
||||
boot.kernelPackages = super.boot.kernelPackages.virtualbox.override {
|
||||
boot.kernelPackages.virtualbox = super.boot.kernelPackages.virtualbox.override {
|
||||
buildInputs = super.boot.kernelPackages.virtualBox.buildInputs
|
||||
++ [ vboxguestpkg ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue