chore: update flake to 'nixos-unstable'

- Switch from 'nixos-25.05' to 'nixos-unstable'
- Update home-manager to follow main branch
This commit is contained in:
2025-12-03 14:25:50 +01:00
parent baafd655ca
commit 9c1d77eb47
2 changed files with 28 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
{
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs?ref=nixos-25.05";
url = "github:nixos/nixpkgs/nixos-unstable";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
@@ -20,7 +20,7 @@
flake = false;
};
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixgl = {
@@ -61,7 +61,9 @@
};
in
{
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # <https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md>
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs}"
]; # <https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md>
nixosConfigurations = lib.genAttrs hostDirNames (
host:
nixpkgs.lib.nixosSystem {
@@ -73,9 +75,7 @@
work = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home/hosts/work ];
extraSpecialArgs = {
inherit inputs;
};
extraSpecialArgs = { inherit inputs; };
};
};
};