moved allow unfree into user files
This commit is contained in:
		
							parent
							
								
									d11a24f337
								
							
						
					
					
						commit
						8f36a609db
					
				
					 7 changed files with 6 additions and 10 deletions
				
			
		|  | @ -38,7 +38,6 @@ set up git configuration for local development: `git config --local include.path | ||||||
| # Tasks: | # Tasks: | ||||||
| 
 | 
 | ||||||
| ## Tech Debt | ## Tech Debt | ||||||
| - allowUnfree should be enabled user side not host side (this isn't enabled at all right now for some reason???) |  | ||||||
| - vscode extensions should be in own flake (make sure to add the nixpkgs.overlays in it too) | - vscode extensions should be in own flake (make sure to add the nixpkgs.overlays in it too) | ||||||
| - join config for systemd.tmpfiles.rules and service directory bindings | - join config for systemd.tmpfiles.rules and service directory bindings | ||||||
| - monitor configuration in `~/.config/monitors.xml` should be sym linked to `/run/gdm/.config/monitors.xml` | - monitor configuration in `~/.config/monitors.xml` should be sym linked to `/run/gdm/.config/monitors.xml` | ||||||
|  |  | ||||||
|  | @ -23,8 +23,6 @@ | ||||||
|     efiInstallAsRemovable = true; |     efiInstallAsRemovable = true; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   nixpkgs.config.allowUnfree = true; |  | ||||||
| 
 |  | ||||||
|   domains = { |   domains = { | ||||||
|     base_domain = "jan-leila.com"; |     base_domain = "jan-leila.com"; | ||||||
|     headscale.subdomain = "vpn"; |     headscale.subdomain = "vpn"; | ||||||
|  |  | ||||||
|  | @ -33,9 +33,6 @@ | ||||||
|   # Enable touchpad support (enabled default in most desktopManager). |   # Enable touchpad support (enabled default in most desktopManager). | ||||||
|   # services.xserver.libinput.enable = true; |   # services.xserver.libinput.enable = true; | ||||||
| 
 | 
 | ||||||
|   # Allow unfree packages |  | ||||||
|   nixpkgs.config.allowUnfree = true; |  | ||||||
| 
 |  | ||||||
|   # Open ports in the firewall. |   # Open ports in the firewall. | ||||||
|   # networking.firewall.allowedTCPPorts = [ ... ]; |   # networking.firewall.allowedTCPPorts = [ ... ]; | ||||||
|   # networking.firewall.allowedUDPPorts = [ ... ]; |   # networking.firewall.allowedUDPPorts = [ ... ]; | ||||||
|  |  | ||||||
|  | @ -227,9 +227,6 @@ | ||||||
|   # Enable touchpad support (enabled default in most desktopManager). |   # Enable touchpad support (enabled default in most desktopManager). | ||||||
|   # services.xserver.libinput.enable = true; |   # services.xserver.libinput.enable = true; | ||||||
| 
 | 
 | ||||||
|   # Allow unfree packages |  | ||||||
|   nixpkgs.config.allowUnfree = true; |  | ||||||
| 
 |  | ||||||
|   # This value determines the NixOS release from which the default |   # This value determines the NixOS release from which the default | ||||||
|   # settings for stateful data, like file locations and database versions |   # settings for stateful data, like file locations and database versions | ||||||
|   # on your system were taken. It‘s perfectly fine and recommended to leave |   # on your system were taken. It‘s perfectly fine and recommended to leave | ||||||
|  |  | ||||||
|  | @ -11,6 +11,8 @@ in { | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = { |   config = { | ||||||
|  |     nixpkgs.config.allowUnfree = true; | ||||||
|  | 
 | ||||||
|     sops.secrets = lib.mkIf cfg.isFullUser { |     sops.secrets = lib.mkIf cfg.isFullUser { | ||||||
|       "passwords/ester" = { |       "passwords/ester" = { | ||||||
|         neededForUsers = true; |         neededForUsers = true; | ||||||
|  |  | ||||||
|  | @ -11,6 +11,8 @@ in { | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = { |   config = { | ||||||
|  |     nixpkgs.config.allowUnfree = true; | ||||||
|  | 
 | ||||||
|     sops.secrets = lib.mkIf cfg.isFullUser { |     sops.secrets = lib.mkIf cfg.isFullUser { | ||||||
|       "passwords/eve" = { |       "passwords/eve" = { | ||||||
|         neededForUsers = true; |         neededForUsers = true; | ||||||
|  |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| { | { | ||||||
|   lib, |   lib, | ||||||
|   config, |   config, | ||||||
|   pkgs, |  | ||||||
|   ... |   ... | ||||||
| }: let | }: let | ||||||
|   cfg = config.users.leyla; |   cfg = config.users.leyla; | ||||||
|  | @ -17,6 +16,8 @@ in { | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = { |   config = { | ||||||
|  |     nixpkgs.config.allowUnfree = true; | ||||||
|  | 
 | ||||||
|     sops.secrets = lib.mkIf (cfg.isFullUser || cfg.isThinUser) { |     sops.secrets = lib.mkIf (cfg.isFullUser || cfg.isThinUser) { | ||||||
|       "passwords/leyla" = { |       "passwords/leyla" = { | ||||||
|         neededForUsers = true; |         neededForUsers = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue