🐛 fix nixpkgs
now being unaccessible downtream
This commit is contained in:
parent
67f837bccf
commit
5198936f28
|
@ -12,7 +12,9 @@ in {
|
|||
# neodymium laptop
|
||||
neodymium = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = inputs;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
modules = [
|
||||
./neodymium
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
nixpkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
# optimizations
|
||||
|
@ -18,7 +18,7 @@
|
|||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
# pin nixpkgs registry
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
|
||||
# print diff between two generations
|
||||
system.activationScripts.nvd-report-changes = ''
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
nixpkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
# restrict nix command to sudoers
|
||||
|
@ -25,7 +25,7 @@
|
|||
};
|
||||
|
||||
# pin nixpkgs registry
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
|
||||
# list of allowed unfree packages
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
|
|
Loading…
Reference in a new issue