aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/flake.nix10
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}"
];
};
}