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 = {
|
boot = {
|
||||||
kernelModules = [ "v4l2loopback" ];
|
kernelModules = [ "v4l2loopback" ];
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
extraModulePackages = [
|
# extraModulePackages = [
|
||||||
config.boot.kernelPackages.v4l2loopback
|
# config.boot.kernelPackages.v4l2loopback
|
||||||
];
|
# ];
|
||||||
extraModprobeConfig = ''
|
# extraModprobeConfig = ''
|
||||||
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
|
# options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
|
||||||
'';
|
# '';
|
||||||
tmp.useTmpfs = true;
|
tmp.useTmpfs = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -35,13 +35,13 @@
|
||||||
# This setting is usually set to true in configuration.nix
|
# This setting is usually set to true in configuration.nix
|
||||||
# generated at installation time. So we force it to false
|
# generated at installation time. So we force it to false
|
||||||
# for now.
|
# for now.
|
||||||
loader.systemd-boot.enable = lib.mkForce true;
|
loader.systemd-boot.enable = lib.mkForce false;
|
||||||
# lanzaboote = {
|
lanzaboote = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# pkiBundle = "/etc/secureboot";
|
pkiBundle = "/etc/secureboot";
|
||||||
# configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
# };
|
};
|
||||||
# loader.systemd-boot.editor = false;
|
loader.systemd-boot.editor = false;
|
||||||
# loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker.enable = true;
|
docker = {
|
||||||
|
enable = true;
|
||||||
|
extraOptions = "--iptables=false";
|
||||||
|
};
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
qemu = {
|
qemu = {
|
||||||
|
@ -15,7 +18,7 @@
|
||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
# allow libvirts internal network stuff
|
# allow libvirts internal network stuff
|
||||||
networking.firewall.trustedInterfaces = [ "virbr0" "br0" ];
|
networking.firewall.trustedInterfaces = [ "virbr0" "br0" "docker0" ];
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
virt-viewer
|
virt-viewer
|
||||||
|
|
Loading…
Reference in a new issue