formatting
This commit is contained in:
		
							parent
							
								
									9f406deb53
								
							
						
					
					
						commit
						de213e7737
					
				
					 4 changed files with 84 additions and 50 deletions
				
			
		| 
						 | 
				
			
			@ -1,20 +1,17 @@
 | 
			
		|||
{ pkgs, lib, config, inputs, ... }:
 | 
			
		||||
 | 
			
		||||
with lib;
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ./cachix.nix ];
 | 
			
		||||
 | 
			
		||||
  nix = {
 | 
			
		||||
   extraOptions = "experimental-features = nix-command flakes";
 | 
			
		||||
   gc = {
 | 
			
		||||
     automatic = true;
 | 
			
		||||
     dates = "weekly";
 | 
			
		||||
     options = "--delete-older-than 20d";
 | 
			
		||||
   };
 | 
			
		||||
   settings = {
 | 
			
		||||
     auto-optimise-store = true;
 | 
			
		||||
   };
 | 
			
		||||
   nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
 | 
			
		||||
    extraOptions = "experimental-features = nix-command flakes";
 | 
			
		||||
    gc = {
 | 
			
		||||
      automatic = true;
 | 
			
		||||
      dates = "weekly";
 | 
			
		||||
      options = "--delete-older-than 20d";
 | 
			
		||||
    };
 | 
			
		||||
    settings = { auto-optimise-store = true; };
 | 
			
		||||
    nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
 | 
			
		||||
  };
 | 
			
		||||
  # nixpkgs.config.allowUnFree = true;
 | 
			
		||||
  # pkgs.config.allowUnfree = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -34,7 +31,8 @@ with lib;
 | 
			
		|||
  i18n.defaultLocale = "en_US.UTF-8";
 | 
			
		||||
  time.timeZone = "America/Chicago";
 | 
			
		||||
 | 
			
		||||
  networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default.
 | 
			
		||||
  networking.networkmanager.enable =
 | 
			
		||||
    true; # Easiest to use and most distros use this by default.
 | 
			
		||||
 | 
			
		||||
  # Set default shell to be dash for speed
 | 
			
		||||
  # Apparently this is bad because a lot of nix relies on bash
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,11 +1,8 @@
 | 
			
		|||
 | 
			
		||||
{
 | 
			
		||||
  nix = {
 | 
			
		||||
    settings = {
 | 
			
		||||
      substituters = [
 | 
			
		||||
        "https://nix-community.cachix.org"
 | 
			
		||||
        "https://cosmic.cachix.org/"
 | 
			
		||||
      ];
 | 
			
		||||
      substituters =
 | 
			
		||||
        [ "https://nix-community.cachix.org" "https://cosmic.cachix.org/" ];
 | 
			
		||||
      trusted-public-keys = [
 | 
			
		||||
        "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
 | 
			
		||||
        "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue