From ac39b1992b5d62bd4977c4447ae5a77f15540444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 27 Mar 2023 16:43:13 +0200 Subject: nixos: update and fix some warnings --- nixos/modules/desktop.nix | 10 +++++----- nixos/modules/develop.nix | 10 +++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index 3ae64a4..d1257b7 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -191,12 +191,12 @@ in { alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - config.pipewire = { - context.modules = [ - {name = "libpipewire-module-zeroconf-discover";} - ]; - }; }; + environment.etc."pipewire/pipewire.conf.d/zeroconf.conf".text = '' + context.modules = [ + { name = libpipewire-module-zeroconf-discover } + ] + ''; security.rtkit.enable = true; services.printing = { diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix index 8c029c8..6a68e7f 100644 --- a/nixos/modules/develop.nix +++ b/nixos/modules/develop.nix @@ -85,9 +85,10 @@ with lib; { # Qemmu qemu virt-manager + cdrtools # U-Boot - #ubootTools + ubootTools tftp-hpa # Network @@ -133,8 +134,11 @@ with lib; { enable = true; recommendedSysctlSettings = true; }; - virtualisation.lxc.enable = true; - virtualisation.libvirtd.enable = true; + virtualisation = { + lxc.enable = true; + libvirtd.enable = true; + spiceUSBRedirection.enable = true; + }; users.groups.develop = {}; users.users.cynerd.extraGroups = [ -- cgit v1.2.3