fix system deprecated warning

This commit is contained in:
Zoty 2026-05-23 15:50:27 -03:00
parent ba6d0a06a0
commit a54acc99f8
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
3 changed files with 6 additions and 4 deletions

View file

@ -42,8 +42,10 @@
in flake // {
nixosConfigurations = flake.nixosConfigurations // {
installer = inputs.nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./installer/default.nix ];
modules = [
./installer/default.nix
{ nixpkgs.hostPlatform.system = system; }
];
specialArgs = { inherit inputs; };
};
};

View file

@ -104,7 +104,7 @@ in {
environment.systemPackages = [
installScript
inputs.disko.packages.${pkgs.system}.default
inputs.disko.packages.${pkgs.stdenv.hostPlatform.system}.default
pkgs.git
pkgs.age
pkgs.sops

View file

@ -1,7 +1,7 @@
{ den, inputs, ... }: {
den.aspects.core.nixos = { pkgs, ... }:
let
pkgs-unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system};
pkgs-unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in {
nixpkgs.config.allowUnfree = true;