opt in unfree
This commit is contained in:
		
							parent
							
								
									2c640816fc
								
							
						
					
					
						commit
						c38f58067a
					
				
					 14 changed files with 17 additions and 850 deletions
				
			
		| 
						 | 
				
			
			@ -14,7 +14,7 @@
 | 
			
		|||
      outputs.overlays.unstable-packages
 | 
			
		||||
    ];
 | 
			
		||||
    config = {
 | 
			
		||||
      allowUnfree = true;
 | 
			
		||||
      allowUnfree = false;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,6 @@
 | 
			
		|||
      wget # download files from web
 | 
			
		||||
 | 
			
		||||
      # Archive
 | 
			
		||||
      unrar # extract roshal archive
 | 
			
		||||
      unzip # extract zip archive
 | 
			
		||||
      p7zip # extract 7z archive
 | 
			
		||||
    ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,8 @@
 | 
			
		|||
{pkgs, ...}: {
 | 
			
		||||
{
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  fileSystems."/home/sajenim/.local/share/Steam" = {
 | 
			
		||||
    device = "/dev/disk/by-label/data";
 | 
			
		||||
    fsType = "btrfs";
 | 
			
		||||
| 
						 | 
				
			
			@ -23,4 +27,10 @@
 | 
			
		|||
    "d /home/sajenim/.local 0755 sajenim users -"
 | 
			
		||||
    "d /home/sajenim/.local/share 0755 sajenim users -"
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  nixpkgs.config.allowUnfreePredicate = pkg:
 | 
			
		||||
    builtins.elem (lib.getName pkg) [
 | 
			
		||||
      "steam"
 | 
			
		||||
      "steam-unwrapped"
 | 
			
		||||
    ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue