nixosConfig: specialArgs = "inputs" -> "{inherit inputs;}"

This commit is contained in:
2024-07-13 10:04:02 -04:00
parent 5fed071e2f
commit be0b31c429
3 changed files with 6 additions and 8 deletions

View File

@@ -24,7 +24,7 @@
nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
specialArgs = { inherit inputs; };
modules =
[
({ config, pkgs, ... }: {
@@ -39,7 +39,7 @@
};
universedesktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
specialArgs = { inherit inputs; };
modules =
[
({ config, pkgs, ... }: {
@@ -52,9 +52,7 @@
};
darwinConfigurations."UniverseAir" = nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
specialArgs = {
inputs = inputs;
};
specialArgs = { inherit inputs; };
modules = [
./machines/universeair/configuration.nix
({ config, pkgs, ... }: {

View File

@@ -2,9 +2,9 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ lib, config, pkgs, nixpkgs, ... }: {
{ lib, config, pkgs, inputs, ... }: {
nix.settings.auto-optimise-store = true;
nix.registry.nixpkgs.flake = nixpkgs;
nix.registry.nixpkgs.flake = inputs.nixpkgs;
# Allow user-mode qemu for running riscv64 binaries
# boot.binfmt.emulatedSystems = [ "riscv64-linux" ];

View File

@@ -1,4 +1,4 @@
{ lib, config, pkgs, nixpkgs, ... }: {
{ lib, config, pkgs, ... }: {
nixpkgs.overlays = [(self: super: rec {
# Discord fix
discord = super.discord.override {