diff --git a/flake.lock b/flake.lock index 1b00eb5..17cc75a 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,18 @@ { "nodes": { "emacs-overlay": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, "locked": { - "lastModified": 1650913968, - "narHash": "sha256-nIrl1Vlc9VVqoLUe4zYhm2ocwNxTXvkLFkV/B8Aq+uE=", + "lastModified": 1657390826, + "narHash": "sha256-yZNR8u0/Bkd+snEJDww3wheFB+GaVYD6znqxMi4QDoY=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "0ab31957afc748f9d618e197dff88a8be1989600", + "rev": "f6ea0808082826283775ca329aa63a2315b6e155", "type": "github" }, "original": { @@ -16,6 +22,21 @@ } }, "flake-utils": { + "locked": { + "lastModified": 1656928814, + "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { "locked": { "lastModified": 1638122382, "narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=", @@ -34,14 +55,15 @@ "inputs": { "nixpkgs": [ "nixpkgs" - ] + ], + "utils": "utils" }, "locked": { - "lastModified": 1650920743, - "narHash": "sha256-7xxdtLp295HswhyEjr991QJsBFeadUo43NiAsHnQ5+8=", + "lastModified": 1657241847, + "narHash": "sha256-/aN3p2LaRNVXf7w92GWgXq9H5f23YRQPOvsm3BrBqzU=", "owner": "nix-community", "repo": "home-manager", - "rev": "223a73c2ba7d358b23666937cb13a59b31df511c", + "rev": "8160b3b45b8457d58d2b3af2aeb2eb6f47042e0f", "type": "github" }, "original": { @@ -52,11 +74,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1650522846, - "narHash": "sha256-SxWHXRI3qJwswyXAtzsi6PKVY3KLNNnb072KaJthII8=", + "lastModified": 1656933710, + "narHash": "sha256-SVG8EqY1OTJWBRY4hpct2ZR2Rk0L8hCFkug3m0ABoZE=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "6b4ebea9093c997c5f275c820e679108de4871ab", + "rev": "3bf48d3587d3f34f745a19ebc968b002ef5b5c5a", "type": "github" }, "original": { @@ -68,27 +90,27 @@ }, "nixpkgs": { "locked": { - "lastModified": 1650831523, - "narHash": "sha256-6pDZ08SAXsUx5rOP391x+TG39ENP/XA8VMa1tQvgEjc=", + "lastModified": 1657296039, + "narHash": "sha256-Ghh39+aS+pw5sTP/ZO8VIKE6sBhMadDaQZtf+3yu4Vc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "87d34a6b8982e901b8e50096b8e79ebc0e66cda0", + "rev": "71d7a4c037dc4f3e98d5c4a81b941933cf5bf675", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-unstable", + "ref": "nixos-22.05", "repo": "nixpkgs", "type": "github" } }, "nur": { "locked": { - "lastModified": 1650930937, - "narHash": "sha256-o4V1nl0I2YJ32NcN7xxgKRJ8NsuthOdY1esUGRLgFr0=", + "lastModified": 1657393132, + "narHash": "sha256-evCcdZuK+IrtWYon0EcrQ+mdaIssr8/VUWiDJWy+MrQ=", "owner": "nix-community", "repo": "NUR", - "rev": "7c41e8b1a2b628ce0ac661a77c3ccc1ec605e2de", + "rev": "b38b1f861f3c306027a609c0c83a576267a4c42f", "type": "github" }, "original": { @@ -104,12 +126,27 @@ "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nur": "nur", - "utils": "utils" + "utils": "utils_2" } }, "utils": { + "locked": { + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "utils_2": { "inputs": { - "flake-utils": "flake-utils" + "flake-utils": "flake-utils_2" }, "locked": { "lastModified": 1638172912, diff --git a/flake.nix b/flake.nix index e6af884..95d1736 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "NixOS configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05"; utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1"; home-manager = { diff --git a/hosts/nil.nix b/hosts/nil.nix index bcf3e58..b519495 100644 --- a/hosts/nil.nix +++ b/hosts/nil.nix @@ -72,7 +72,9 @@ kernelModules = [ "dm-snapshot" ]; }; kernelModules = [ "kvm-amd" ]; - extraModulePackages = [ config.boot.kernelPackages.rtw89 ]; + # Need for https://github.com/NixOS/nixpkgs/issues/177844 + kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") + pkgs.linuxPackages_latest; supportedFilesystems = [ "zfs" ]; }; @@ -104,5 +106,5 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "21.11"; # Did you read the comment? + system.stateVersion = "22.05"; # Did you read the comment? }