fix system deprecated warning
This commit is contained in:
parent
ba6d0a06a0
commit
a54acc99f8
3 changed files with 6 additions and 4 deletions
|
|
@ -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; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue