Add more software
This commit is contained in:
parent
ade1f149b7
commit
9f9ee7996d
2 changed files with 26 additions and 1 deletions
|
@ -4,7 +4,15 @@
|
|||
|
||||
networking.hostName = "foureighty";
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
extraModulePackages = with config.boot.kernelPackages; [ wireguard ];
|
||||
initrd.kernelModules = [ "i915" ];
|
||||
initrd.availableKernelModules = [
|
||||
"aes_x86_64"
|
||||
"crypto_simd"
|
||||
"aesni_intel"
|
||||
"cryptd"
|
||||
];
|
||||
kernelParams = [
|
||||
"i915.enable_fbc=1"
|
||||
"i915.enable_psr=2"
|
||||
|
@ -65,6 +73,12 @@
|
|||
];
|
||||
};
|
||||
|
||||
virtualisation.virtualbox.host = {
|
||||
enable = true;
|
||||
enableExtensionPack = true;
|
||||
enableHardening = false; #needed for 3D acceleration
|
||||
};
|
||||
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
../boot.nix
|
||||
|
|
|
@ -1,9 +1,20 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||
in
|
||||
{
|
||||
nixpkgs.config = {
|
||||
packageOverrides = pkgs: {
|
||||
unstable = import unstableTarball {
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
};
|
||||
};
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "cyryl";
|
||||
dataDir = "/home/cyryl/.syncthing";
|
||||
openDefaultPorts = true;
|
||||
package = pkgs.unstable.syncthing;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue