switched formatter
This commit is contained in:
		
							parent
							
								
									851cb6fe38
								
							
						
					
					
						commit
						e6ff80b005
					
				
					 5 changed files with 39 additions and 40 deletions
				
			
		|  | @ -1,5 +1,5 @@ | ||||||
| { | { | ||||||
|   description = "My NixOS / nix-darwin / nixos-generators systems"; |   description = "NixOs Config"; | ||||||
| 
 | 
 | ||||||
|   inputs = { |   inputs = { | ||||||
|     nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; |     nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; | ||||||
|  | @ -28,11 +28,11 @@ | ||||||
| 
 | 
 | ||||||
|       channels-config = { allowUnfree = true; }; |       channels-config = { allowUnfree = true; }; | ||||||
| 
 | 
 | ||||||
|       outputs-builder = channels: {formatter = channels.nixpkgs.alejandra;}; |       outputs-builder = channels: { formatter = channels.nixpkgs.nixpkgs-fmt; }; | ||||||
| 
 | 
 | ||||||
|       overlays = with inputs; [ |       overlays = with inputs; [ | ||||||
|         # Use the overlay provided by this flake. |         # Use the overlay provided by this flake. | ||||||
|         snowfall-flake.overlays."package/flake" |         snowfall-flake.overlays.default | ||||||
|       ]; |       ]; | ||||||
|     }; |     }; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -1,14 +1,14 @@ | ||||||
| { | { lib | ||||||
|   lib, | , pkgs | ||||||
|   pkgs, | , config | ||||||
|   config, | , ... | ||||||
|   ... |  | ||||||
| }: | }: | ||||||
| # User information gathered by Snowfall Lib is available. | # User information gathered by Snowfall Lib is available. | ||||||
| let | let | ||||||
|   name = config.snowfallorg.user.name; |   name = config.snowfallorg.user.name; | ||||||
|   home = config.snowfallorg.user.home.directory; |   home = config.snowfallorg.user.home.directory; | ||||||
| in { | in | ||||||
|  | { | ||||||
|   home = { |   home = { | ||||||
|     packages = with pkgs; [ neovim firefox ]; |     packages = with pkgs; [ neovim firefox ]; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,10 +1,11 @@ | ||||||
| { | { lib | ||||||
|   lib, | , config | ||||||
|   config, | , ... | ||||||
|   ... | }: | ||||||
| }: let | let | ||||||
|   cfg = config.snowfallorg.example; |   cfg = config.snowfallorg.example; | ||||||
| in { | in | ||||||
|  | { | ||||||
|   options.snowfallorg.example = { |   options.snowfallorg.example = { | ||||||
|     enable = lib.mkEnableOption "Snowfall Example"; |     enable = lib.mkEnableOption "Snowfall Example"; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| { | { pkgs | ||||||
|   pkgs, | , config | ||||||
|   config, | , ... | ||||||
|   ... |  | ||||||
| }: { | }: { | ||||||
|   imports = [ ./hardware.nix ]; |   imports = [ ./hardware.nix ]; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,12 +1,11 @@ | ||||||
| # Do not modify this file!  It was generated by ‘nixos-generate-config’ | # Do not modify this file!  It was generated by ‘nixos-generate-config’ | ||||||
| # and may be overwritten by future invocations.  Please make changes | # and may be overwritten by future invocations.  Please make changes | ||||||
| # to /etc/nixos/configuration.nix instead. | # to /etc/nixos/configuration.nix instead. | ||||||
| { | { config | ||||||
|   config, | , lib | ||||||
|   lib, | , pkgs | ||||||
|   pkgs, | , modulesPath | ||||||
|   modulesPath, | , ... | ||||||
|   ... |  | ||||||
| }: { | }: { | ||||||
|   imports = [ ]; |   imports = [ ]; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue