diff options
author | sefidel <contact@sefidel.net> | 2023-02-18 00:16:05 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-18 00:16:05 +0900 |
commit | 2f0436802968113b0ae01d4ffc90a0a0d1bb8a40 (patch) | |
tree | 82687ab73abfd05df37c6802af9977800c5aeee9 /nixos/modules | |
parent | 3938fe9919e86a8943174684d2d80b60a704d4dc (diff) | |
download | nixrc-2f0436802968113b0ae01d4ffc90a0a0d1bb8a40.tar.gz nixrc-2f0436802968113b0ae01d4ffc90a0a0d1bb8a40.zip |
feat(flake): nixpkgs-2111 -> nixpkgs-2211
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/flake.nix | 10 |
1 files changed, 5 insertions, 5 deletions
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}" ]; }; } |