use system nixpkgs as registry
This commit is contained in:
		
							parent
							
								
									20cd9f93ad
								
							
						
					
					
						commit
						be64cd21eb
					
				
					 2 changed files with 8 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
# Edit this configuration file to define what should be installed on
 | 
			
		||||
# your system.  Help is available in the configuration.nix(5) man page
 | 
			
		||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
 | 
			
		||||
{ config, pkgs, ... }: {
 | 
			
		||||
{ config, pkgs, inputs, ... }: {
 | 
			
		||||
  imports = [ ./media-packages.nix ];
 | 
			
		||||
  packages.media-packages.enable = true;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -134,6 +134,8 @@
 | 
			
		|||
  # Or disable the firewall altogether.
 | 
			
		||||
  networking.firewall.enable = false;
 | 
			
		||||
  security.sudo.wheelNeedsPassword = false;
 | 
			
		||||
 | 
			
		||||
  nix.registry.nixpkgs.flake = inputs.nixpkgs;
 | 
			
		||||
  nix = {
 | 
			
		||||
    settings = {
 | 
			
		||||
      auto-optimise-store = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue