From 5ed11ad01173a82864e29ae8bb812eaa7e877aa1 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sat, 3 Jun 2023 20:21:58 +0100 Subject: [PATCH] Upgrade to release 23.05 --- flake.lock | 34 +++++++----------------- flake.nix | 4 +-- hosts/desktop.nix | 8 +++--- hosts/odyssey/hardware-configuration.nix | 2 -- hosts/server.nix | 8 +++--- overlays/gnome.nix | 4 +-- 6 files changed, 23 insertions(+), 37 deletions(-) diff --git a/flake.lock b/flake.lock index e5a2089..9f659e4 100644 --- a/flake.lock +++ b/flake.lock @@ -4,36 +4,35 @@ "inputs": { "nixpkgs": [ "nixpkgs" - ], - "utils": "utils" + ] }, "locked": { - "lastModified": 1681092193, - "narHash": "sha256-JerCqqOqbT2tBnXQW4EqwFl0hHnuZp21rIQ6lu/N4rI=", + "lastModified": 1685599623, + "narHash": "sha256-Tob4CMOVHue0D3RzguDBCtUmX5ji2PsdbQDbIOIKvsc=", "owner": "nix-community", "repo": "home-manager", - "rev": "f9edbedaf015013eb35f8caacbe0c9666bbc16af", + "rev": "93db05480c0c0f30382d3e80779e8386dcb4f9dd", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-22.11", + "ref": "release-23.05", "repo": "home-manager", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1685650716, - "narHash": "sha256-sDd7QIcMbIb37nuqMrJElvuyE5eVgWuKGtIPP8IWwCc=", + "lastModified": 1685716800, + "narHash": "sha256-b6RpYRRsv6Wwl9XG2sjLvqKdkPMvqQqgtiGJHAIyGSw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f7c1500e2eefa58f3c80dd046cba256e10440201", + "rev": "f3d743463920751eb092930d06e700981398332a", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "nixos-22.11", + "ref": "nixos-23.05", "type": "indirect" } }, @@ -42,21 +41,6 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs" } - }, - "utils": { - "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 13c13df..af68d4f 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,9 @@ description = "NixOS/Darwin system configuration"; inputs = { - nixpkgs.url = "nixpkgs/nixos-22.11"; + nixpkgs.url = "nixpkgs/nixos-23.05"; home-manager = { - url = "github:nix-community/home-manager/release-22.11"; + url = "github:nix-community/home-manager/release-23.05"; inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/hosts/desktop.nix b/hosts/desktop.nix index 537916f..7fc0b0a 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -23,9 +23,11 @@ with lib.my; services.printing.enable = true; services.openssh = { enable = true; - kbdInteractiveAuthentication = false; - passwordAuthentication = false; - permitRootLogin = "no"; + settings = { + KbdInteractiveAuthentication = false; + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; startWhenNeeded = true; }; diff --git a/hosts/odyssey/hardware-configuration.nix b/hosts/odyssey/hardware-configuration.nix index e5eea10..8c25db0 100644 --- a/hosts/odyssey/hardware-configuration.nix +++ b/hosts/odyssey/hardware-configuration.nix @@ -66,6 +66,4 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - # high-resolution display - hardware.video.hidpi.enable = lib.mkDefault true; } diff --git a/hosts/server.nix b/hosts/server.nix index 71422b9..054176c 100644 --- a/hosts/server.nix +++ b/hosts/server.nix @@ -22,9 +22,11 @@ with lib.my; services.openssh = { enable = true; - kbdInteractiveAuthentication = false; - passwordAuthentication = false; - permitRootLogin = "no"; + settings = { + KbdInteractiveAuthentication = false; + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; }; environment.systemPackages = with pkgs; [ diff --git a/overlays/gnome.nix b/overlays/gnome.nix index 906764f..4970c35 100644 --- a/overlays/gnome.nix +++ b/overlays/gnome.nix @@ -3,8 +3,8 @@ self: super: gnome = super.gnome.overrideScope' (gself: gsuper: { mutter = gsuper.mutter.overrideAttrs (oldAttrs: { src = super.fetchurl { - url = "https://gitlab.gnome.org/Community/Ubuntu/mutter/-/archive/triple-buffering-v4-43/mutter-triple-buffering-v4-43.tar.gz"; - sha256 = "e+pN+lZs3ZLdVkh7PAB1xUWqjhep9X6uKbU2GgEZ6aQ="; + url = "https://gitlab.gnome.org/Community/Ubuntu/mutter/-/archive/triple-buffering-v4-44/mutter-triple-buffering-v4-44.tar.gz"; + sha256 = "Xgiu1ifgPijXPq6rYfPX81Nq97jw9m/hoWTKAgC3aeI="; }; }); });