diff --git a/flake.nix b/flake.nix index 709ffdb7..dc95dbd3 100644 --- a/flake.nix +++ b/flake.nix @@ -1,11 +1,12 @@ { description = "NixOS System Config"; + let { releaseVer = "23.11"; } in { inputs = { - nixpkgs.url = "nixpkgs/nixos-23.11"; + nixpkgs.url = "nixpkgs/nixos-${releaseVer}"; # nixpkgs-wayland - Wayland-specific packages not in nixpkgs nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland"; # home-manager - Dotfile mnagement - add /master at the end to pull from master - home-manager.url = "github:nix-community/home-manager/release-23.11"; + home-manager.url = "github:nix-community/home-manager/release-${releaseVer}"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; # lanzaboote - Secureboot Configuration lanzaboote.url = "github:nix-community/lanzaboote"; @@ -39,7 +40,7 @@ plasma-manager.url = "github:pjones/plasma-manager"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; # Nix colorizer / themer - stylix.url = "github:danth/stylix"; + stylix.url = "github:danth/stylix/release-${releaseVer}"; # Hyprland Flake hyprland.url = "github:hyprwm/Hyprland"; # Hyprland Plugins @@ -52,8 +53,8 @@ outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs: let inherit (self) outputs; - stateVersion = "23.11"; - hmStateVersion = "23.11"; + stateVersion = "${releaseVer}"; + hmStateVersion = "${releaseVer}"; libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; in { nixosConfigurations = { @@ -102,4 +103,4 @@ in import ./shell.nix { inherit pkgs sops-nix deploy-rs system; } ); }; -} +};}