From c237b0d66a5ed722f65894b04b15981491555e00 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sat, 14 Feb 2026 16:20:40 -0600 Subject: [PATCH] use release tag for global release branch assignment --- configuration.nix | 6 ------ flake.nix | 10 ++++++---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/configuration.nix b/configuration.nix index eed9b47..15a78aa 100755 --- a/configuration.nix +++ b/configuration.nix @@ -224,13 +224,7 @@ # Or disable the firewall altogether. networking.firewall.enable = true; - # Copy the NixOS configuration file and link it from the resulting system - # (/run/current-system/configuration.nix). This is useful in case you - # accidentally delete configuration.nix. - # system.copySystemConfiguration = true; - # INITIAL system version - # CURRENT nixpkgs version = 25.05 system.stateVersion = "24.11"; } diff --git a/flake.nix b/flake.nix index ba0fa65..c593406 100755 --- a/flake.nix +++ b/flake.nix @@ -1,14 +1,17 @@ +let + release = "25.11"; +in { description = "System Wide Config Controller"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-${release}"; nixvim = { - url = "github:nix-community/nixvim"; + url = "github:nix-community/nixvim/nixos-${release}"; inputs.nixpkgs.follows = "nixpkgs"; }; home-manager = { - url = "github:nix-community/home-manager/release-25.11"; + url = "github:nix-community/home-manager/release-${release}"; inputs.nixpkgs.follows = "nixpkgs"; }; disko = { @@ -16,7 +19,6 @@ inputs.nixpkgs.follows = "nixpkgs"; }; impermanence.url = "github:nix-community/impermanence"; - # implement at some point (So I can push repo public) sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs";