From 4dbeccd8188e3b1ee1fb494e891f6648ab874893 Mon Sep 17 00:00:00 2001 From: Emmet Date: Wed, 28 Feb 2024 19:52:29 -0600 Subject: [PATCH] Updated deprecated option names --- system/app/virtualization.nix | 2 +- system/hardware/printing.nix | 2 +- system/wm/fonts.nix | 2 +- system/wm/wayland.nix | 8 +++++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/system/app/virtualization.nix b/system/app/virtualization.nix index 2058838..947b0fd 100644 --- a/system/app/virtualization.nix +++ b/system/app/virtualization.nix @@ -8,7 +8,7 @@ "virbr0" ]; enable = true; - qemuRunAsRoot = false; + qemu.runAsRoot = false; }; boot.extraModulePackages = with config.boot.kernelPackages; [ virtualbox ]; } diff --git a/system/hardware/printing.nix b/system/hardware/printing.nix index 8adce81..3386343 100644 --- a/system/hardware/printing.nix +++ b/system/hardware/printing.nix @@ -4,7 +4,7 @@ # Enable printing services.printing.enable = true; services.avahi.enable = true; - services.avahi.nssmdns = true; + services.avahi.nssmdns4 = true; services.avahi.openFirewall = true; environment.systemPackages = [ pkgs.cups-filters ]; } diff --git a/system/wm/fonts.nix b/system/wm/fonts.nix index a7cd969..a75544c 100644 --- a/system/wm/fonts.nix +++ b/system/wm/fonts.nix @@ -2,7 +2,7 @@ { # Fonts are nice to have - fonts.fonts = with pkgs; [ + fonts.packages = with pkgs; [ # Fonts (nerdfonts.override { fonts = [ "Inconsolata" ]; }) powerline diff --git a/system/wm/wayland.nix b/system/wm/wayland.nix index f2fbbf7..d8d4156 100644 --- a/system/wm/wayland.nix +++ b/system/wm/wayland.nix @@ -23,9 +23,11 @@ # Configure xwayland services.xserver = { enable = true; - layout = "us"; - xkbVariant = ""; - xkbOptions = "caps:escape"; + xkb = { + layout = "us"; + variant = ""; + options = "caps:escape"; + }; displayManager.sddm = { enable = true; wayland.enable = true;