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