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 | |
parent | 5d96ab1ac84b8e084ab991b1b88d9e2ad66c8ec5 (diff) | |
download | nixrc-72f0a54a965fd47ec6bbd21fc73ec266dd3f32ca.tar.gz nixrc-72f0a54a965fd47ec6bbd21fc73ec266dd3f32ca.zip |
feat(flake): nixpkgs2211 -> nixpkgs2305
Diffstat (limited to 'modules')
-rw-r--r-- | modules/devkit.nix | 2 | ||||
-rw-r--r-- | modules/flakes.nix | 10 | ||||
-rw-r--r-- | modules/keyd-qol.nix | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/devkit.nix b/modules/devkit.nix index 65d8de0..191b534 100644 --- a/modules/devkit.nix +++ b/modules/devkit.nix @@ -1,4 +1,4 @@ -{ config, pkgs, unstable, unstable-small, nixpkgs-2211, lib, ... }: +{ config, pkgs, unstable, unstable-small, lib, ... }: { options.hardware.devkit.enable = lib.mkEnableOption "udev rules for development boards"; 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}" ]; }; } diff --git a/modules/keyd-qol.nix b/modules/keyd-qol.nix index e163286..2f720d7 100644 --- a/modules/keyd-qol.nix +++ b/modules/keyd-qol.nix @@ -1,4 +1,4 @@ -{ config, pkgs, unstable, unstable-small, nixpkgs-2211, lib, ... }: +{ config, pkgs, unstable, unstable-small, lib, ... }: { options.services.keyd-qol.enable = lib.mkEnableOption "keyd service for quality-of-life improvements"; |