forked from stitchy/dotfiles
moar malachite fixes
This commit is contained in:
parent
8d69eb76d6
commit
101d47fa29
2 changed files with 12 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
passthrough = pkgs.writeShellApplication {
|
passthrough = pkgs.writeShellApplication {
|
||||||
name = "pasthrough.sh";
|
name = "pasthrough.sh";
|
||||||
runtimeInputs = lib.attrVals [ "coreutils" "kmod" "libvirtd" "procps" ] pkgs;
|
runtimeInputs = lib.attrVals [ "coreutils" "kmod" "libvirt" "procps" ] pkgs;
|
||||||
text = ''
|
text = ''
|
||||||
GUEST_NAME="$1"
|
GUEST_NAME="$1"
|
||||||
HOOK_NAME="$2"
|
HOOK_NAME="$2"
|
||||||
|
@ -69,6 +69,7 @@ let
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
@ -88,6 +89,15 @@ in {
|
||||||
steam-hardware.enable = true;
|
steam-hardware.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "stitchynyan";
|
||||||
|
openDefaultPorts = true;
|
||||||
|
databaseDir = "/home/stitchynyan/.local/share/syncthing";
|
||||||
|
dataDir = "/home/stitchynyan";
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "malachite";
|
networking.hostName = "malachite";
|
||||||
|
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" "vfio-pci" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|
Loading…
Reference in a new issue