From 3a8afc973b3057a81575da3602d1e1f1fb0649c5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 26 Feb 2024 14:43:05 +0300 Subject: fix(users/tazjin): fix warnings for renamed NixOS options Change-Id: I1bb9c1bdcf61d0216177bf3454467c6c80649893 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11032 Reviewed-by: tazjin Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: sterni --- users/tazjin/nixos/camden/default.nix | 4 ++-- users/tazjin/nixos/frog/default.nix | 6 +++--- users/tazjin/nixos/modules/desktop.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'users/tazjin') diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix index 2f34110eb5..130b51dd38 100644 --- a/users/tazjin/nixos/camden/default.nix +++ b/users/tazjin/nixos/camden/default.nix @@ -108,7 +108,7 @@ lib.fix (self: { programs.mosh.enable = true; fonts = { - fonts = [ pkgs.jetbrains-mono ]; + packages = [ pkgs.jetbrains-mono ]; fontconfig.defaultFonts.monospace = [ "JetBrains Mono" ]; }; @@ -163,7 +163,7 @@ lib.fix (self: { services.tailscale.enable = true; # Allow sudo-ing via the forwarded SSH agent. - security.pam.enableSSHAgentAuth = true; + security.pam.sshAgentAuth.enable = true; # NixOS 20.03 broke nginx and I can't be bothered to debug it # anymore, all solution attempts have failed, so here's a diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix index 8f5a02de34..b08da93a0f 100644 --- a/users/tazjin/nixos/frog/default.nix +++ b/users/tazjin/nixos/frog/default.nix @@ -110,7 +110,7 @@ lib.fix (self: { }; fonts = { - fonts = with pkgs; [ + packages = with pkgs; [ corefonts dejavu_fonts jetbrains-mono @@ -156,8 +156,8 @@ lib.fix (self: { services.xserver = { enable = true; - layout = "us"; - xkbOptions = "caps:super"; + xkb.layout = "us"; + xkb.options = "caps:super"; exportConfiguration = true; videoDrivers = [ "amdgpu" ]; displayManager = { diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index e2d77e1657..12a42b8faa 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -15,8 +15,8 @@ xserver = { enable = true; - layout = "us"; - xkbOptions = "caps:super"; + xkb.layout = "us"; + xkb.options = "caps:super"; libinput.enable = true; -- cgit 1.4.1