chore: update to nixos 25.05

This commit is contained in:
Nickolaj Jepsen 2025-05-20 19:25:57 +02:00
parent e3b550bd82
commit d25e24c15b
11 changed files with 160 additions and 184 deletions

View file

@ -21,11 +21,6 @@ with lib; let
}:
withSystem system (
{system, ...}: let
pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgsUnstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
@ -33,7 +28,7 @@ with lib; let
in
inputs.nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {inherit inputs hostname username pkgs pkgsUnstable;};
specialArgs = {inherit inputs hostname username pkgsUnstable;};
modules =
[
inputs.disko.nixosModules.disko
@ -48,6 +43,7 @@ with lib; let
inputs.zwift.nixosModules.zwift
../modules/base/user.nix
(mkSystemImports hostname)
{ nixpkgs.config.allowUnfree = true; }
]
++ modules
++ (