Enable home manager on deck
This commit is contained in:
		
							parent
							
								
									227a5b1f4d
								
							
						
					
					
						commit
						c58d2e351d
					
				
					 1 changed files with 39 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -20,6 +20,37 @@
 | 
			
		|||
    # ./nvim.nix
 | 
			
		||||
    ../../package-configs/zsh.nix
 | 
			
		||||
  ];
 | 
			
		||||
  nixpkgs = {
 | 
			
		||||
    # You can add overlays here
 | 
			
		||||
    overlays = [
 | 
			
		||||
      # Add overlays your own flake exports (from overlays and pkgs dir):
 | 
			
		||||
      outputs.overlays.additions
 | 
			
		||||
      outputs.overlays.modifications
 | 
			
		||||
      outputs.overlays.unstable-packages
 | 
			
		||||
 | 
			
		||||
      # You can also add overlays exported from other flakes:
 | 
			
		||||
      # neovim-nightly-overlay.overlays.default
 | 
			
		||||
 | 
			
		||||
      # Or define it inline, for example:
 | 
			
		||||
      # (final: prev: {
 | 
			
		||||
      #   hi = final.hello.overrideAttrs (oldAttrs: {
 | 
			
		||||
      #     patches = [ ./change-hello-to-hi.patch ];
 | 
			
		||||
      #   });
 | 
			
		||||
      # })
 | 
			
		||||
    ];
 | 
			
		||||
    # Configure your nixpkgs instance
 | 
			
		||||
    config = {
 | 
			
		||||
      # Disable if you don't want unfree packages
 | 
			
		||||
      allowUnfree = true;
 | 
			
		||||
      # Workaround for https://github.com/nix-community/home-manager/issues/2942
 | 
			
		||||
      allowUnfreePredicate = _: true;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home = {
 | 
			
		||||
    username = "lillian";
 | 
			
		||||
    homeDirectory = "/home/lillian";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    #Chat:
 | 
			
		||||
| 
						 | 
				
			
			@ -51,6 +82,14 @@
 | 
			
		|||
    ungoogled-chromium
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Enable home-manager and git
 | 
			
		||||
  programs.home-manager.enable = true;
 | 
			
		||||
  programs.git = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    userEmail = "git@gladtherescake.eu";
 | 
			
		||||
    userName = "Lillian-Violet";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
 | 
			
		||||
  home.stateVersion = "23.11";
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue