diff options
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/desktop.nix | 10 | ||||
-rw-r--r-- | nixos/modules/develop.nix | 10 |
2 files changed, 12 insertions, 8 deletions
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 = [ |