mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
thinkpad: reenable all modules
This commit is contained in:
parent
a16bc598a4
commit
a8d2ace6ab
|
@ -25,12 +25,12 @@
|
|||
boot = {
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
extraModulePackages = [
|
||||
config.boot.kernelPackages.v4l2loopback
|
||||
];
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
|
||||
'';
|
||||
# extraModulePackages = [
|
||||
# config.boot.kernelPackages.v4l2loopback
|
||||
# ];
|
||||
# extraModprobeConfig = ''
|
||||
# options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
|
||||
# '';
|
||||
tmp.useTmpfs = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -35,13 +35,13 @@
|
|||
# This setting is usually set to true in configuration.nix
|
||||
# generated at installation time. So we force it to false
|
||||
# for now.
|
||||
loader.systemd-boot.enable = lib.mkForce true;
|
||||
# lanzaboote = {
|
||||
# enable = true;
|
||||
# pkiBundle = "/etc/secureboot";
|
||||
# configurationLimit = 10;
|
||||
# };
|
||||
# loader.systemd-boot.editor = false;
|
||||
# loader.efi.canTouchEfiVariables = true;
|
||||
loader.systemd-boot.enable = lib.mkForce false;
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
configurationLimit = 10;
|
||||
};
|
||||
loader.systemd-boot.editor = false;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
docker = {
|
||||
enable = true;
|
||||
extraOptions = "--iptables=false";
|
||||
};
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
|
@ -15,7 +18,7 @@
|
|||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
# allow libvirts internal network stuff
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" "br0" ];
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" "br0" "docker0" ];
|
||||
programs.virt-manager.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-viewer
|
||||
|
|
Loading…
Reference in a new issue