From 2f0436802968113b0ae01d4ffc90a0a0d1bb8a40 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 18 Feb 2023 00:16:05 +0900 Subject: feat(flake): nixpkgs-2111 -> nixpkgs-2211 --- nixos/modules/flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/flake.nix b/nixos/modules/flake.nix index 15a4254..76f89f3 100644 --- a/nixos/modules/flake.nix +++ b/nixos/modules/flake.nix @@ -1,10 +1,10 @@ -{ config, pkgs, unstable, unstable-small, nixpkgs-2111, lib, ... }: +{ config, pkgs, unstable, unstable-small, nixpkgs-2211, lib, ... }: let base = "/etc/nixpkgs/channels"; nixpkgsPath = "${base}/nixpkgs"; nixpkgsSmallPath = "${base}/nixpkgsSmall"; - nixpkgs2111Path = "${base}/nixpkgs2111"; + nixpkgs2211Path = "${base}/nixpkgs2211"; in { options.nix.flakes.enable = lib.mkEnableOption "nix flakes"; @@ -16,12 +16,12 @@ in registry.nixpkgs.flake = unstable; registry.nixpkgsSmall.flake = unstable-small; - registry.nixpkgs2111.flake = nixpkgs-2111; + registry.nixpkgs2211.flake = nixpkgs-2211; nixPath = [ "nixpkgs=${nixpkgsPath}" "nixpkgsSmall=${nixpkgsSmallPath}" - "nixpkgs2111=${nixpkgs2111Path}" + "nixpkgs2211=${nixpkgs2211Path}" "/nix/var/nix/profiles/per-user/root/channels" ]; }; @@ -29,7 +29,7 @@ in systemd.tmpfiles.rules = [ "L+ ${nixpkgsPath} - - - - ${unstable}" "L+ ${nixpkgsSmallPath} - - - - ${unstable-small}" - "L+ ${nixpkgs2111Path} - - - - ${nixpkgs-2111}" + "L+ ${nixpkgs2211Path} - - - - ${nixpkgs-2211}" ]; }; } -- cgit 1.4.1