diff options
author | sefidel <contact@sefidel.net> | 2023-11-15 15:36:12 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-11-15 15:44:38 +0900 |
commit | 72f0a54a965fd47ec6bbd21fc73ec266dd3f32ca (patch) | |
tree | 79f5bade39ea234dba481a06ef0aa1b1ebda1874 /modules/flakes.nix | |
parent | 5d96ab1ac84b8e084ab991b1b88d9e2ad66c8ec5 (diff) | |
download | nixrc-72f0a54a965fd47ec6bbd21fc73ec266dd3f32ca.tar.gz nixrc-72f0a54a965fd47ec6bbd21fc73ec266dd3f32ca.zip |
feat(flake): nixpkgs2211 -> nixpkgs2305
Diffstat (limited to 'modules/flakes.nix')
-rw-r--r-- | modules/flakes.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/flakes.nix b/modules/flakes.nix index 76f89f3..092d1f4 100644 --- a/modules/flakes.nix +++ b/modules/flakes.nix @@ -1,10 +1,10 @@ -{ config, pkgs, unstable, unstable-small, nixpkgs-2211, lib, ... }: +{ config, pkgs, unstable, unstable-small, nixpkgs-2305, lib, ... }: let base = "/etc/nixpkgs/channels"; nixpkgsPath = "${base}/nixpkgs"; nixpkgsSmallPath = "${base}/nixpkgsSmall"; - nixpkgs2211Path = "${base}/nixpkgs2211"; + nixpkgs2305Path = "${base}/nixpkgs2305"; in { options.nix.flakes.enable = lib.mkEnableOption "nix flakes"; @@ -16,12 +16,12 @@ in registry.nixpkgs.flake = unstable; registry.nixpkgsSmall.flake = unstable-small; - registry.nixpkgs2211.flake = nixpkgs-2211; + registry.nixpkgs2305.flake = nixpkgs-2305; nixPath = [ "nixpkgs=${nixpkgsPath}" "nixpkgsSmall=${nixpkgsSmallPath}" - "nixpkgs2211=${nixpkgs2211Path}" + "nixpkgs2305=${nixpkgs2305Path}" "/nix/var/nix/profiles/per-user/root/channels" ]; }; @@ -29,7 +29,7 @@ in systemd.tmpfiles.rules = [ "L+ ${nixpkgsPath} - - - - ${unstable}" "L+ ${nixpkgsSmallPath} - - - - ${unstable-small}" - "L+ ${nixpkgs2211Path} - - - - ${nixpkgs-2211}" + "L+ ${nixpkgs2305Path} - - - - ${nixpkgs-2305}" ]; }; } |