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

@@ -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 {