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 // { in flake // {
nixosConfigurations = flake.nixosConfigurations // { nixosConfigurations = flake.nixosConfigurations // {
installer = inputs.nixpkgs.lib.nixosSystem { installer = inputs.nixpkgs.lib.nixosSystem {
inherit system; modules = [
modules = [ ./installer/default.nix ]; ./installer/default.nix
{ nixpkgs.hostPlatform.system = system; }
];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
}; };
}; };

View file

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

View file

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