aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-03-27 16:43:13 +0200
committerKarel Kočí <cynerd@email.cz>2023-03-27 16:43:13 +0200
commitac39b1992b5d62bd4977c4447ae5a77f15540444 (patch)
tree17c264629f791a1b6848d7ab10277b5ad7a44325 /nixos
parent7202f145f81ef701a7b05d1cca35425bb6ded6b0 (diff)
downloadnixos-personal-ac39b1992b5d62bd4977c4447ae5a77f15540444.tar.gz
nixos-personal-ac39b1992b5d62bd4977c4447ae5a77f15540444.tar.bz2
nixos-personal-ac39b1992b5d62bd4977c4447ae5a77f15540444.zip
nixos: update and fix some warnings
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/desktop.nix10
-rw-r--r--nixos/modules/develop.nix10
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 = [