Compare commits
	
		
			3 commits
		
	
	
		
			d41b89b97a
			...
			80ac00a7cf
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 80ac00a7cf | |||
| 02458fec21 | |||
| 2360e309d2 | 
					 6 changed files with 105 additions and 132 deletions
				
			
		
							
								
								
									
										18
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								flake.nix
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -53,22 +53,8 @@
 | 
			
		|||
    # Standalone home-manager configuration entrypoint
 | 
			
		||||
    # Available through 'home-manager --flake .#your-username@your-hostname'
 | 
			
		||||
    homeConfigurations = {
 | 
			
		||||
      "gabe@archlaptop" = home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
        pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
 | 
			
		||||
        extraSpecialArgs = {inherit inputs outputs;};
 | 
			
		||||
        modules = [
 | 
			
		||||
          ./hosts/gabe-archlaptop.nix
 | 
			
		||||
          nixvim.homeManagerModules.nixvim
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
      "gabe@gv-workstation" = home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
        pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
 | 
			
		||||
        extraSpecialArgs = {inherit inputs outputs;};
 | 
			
		||||
        modules = [
 | 
			
		||||
          ./hosts/gabe-gv-workstation.nix
 | 
			
		||||
          nixvim.homeManagerModules.nixvim
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
      "gabe@archlaptop" = import ./hosts/gabe-archlaptop.nix {inherit inputs outputs;};
 | 
			
		||||
      "gabe@gv-workstation" = import ./hosts/gabe-gv-workstation.nix {inherit inputs outputs;};
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,13 @@
 | 
			
		|||
{
 | 
			
		||||
  inputs,
 | 
			
		||||
  outputs,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
inputs.home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
  pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
 | 
			
		||||
  extraSpecialArgs = {inherit inputs outputs;};
 | 
			
		||||
  modules = [
 | 
			
		||||
    ({
 | 
			
		||||
      config,
 | 
			
		||||
      pkgs,
 | 
			
		||||
      lib,
 | 
			
		||||
| 
						 | 
				
			
			@ -32,4 +41,7 @@
 | 
			
		|||
        ../modules/home-manager/mpd/mpd.nix
 | 
			
		||||
        ../modules/home-manager/email.nix
 | 
			
		||||
      ];
 | 
			
		||||
    })
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,14 @@
 | 
			
		|||
{
 | 
			
		||||
  inputs,
 | 
			
		||||
  outputs,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
inputs.home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
  pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
 | 
			
		||||
  extraSpecialArgs = {inherit inputs outputs;};
 | 
			
		||||
  modules = [
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
    ({
 | 
			
		||||
      config,
 | 
			
		||||
      pkgs,
 | 
			
		||||
      lib,
 | 
			
		||||
| 
						 | 
				
			
			@ -35,4 +45,6 @@
 | 
			
		|||
        ../modules/home-manager/beets.nix
 | 
			
		||||
        ../modules/home-manager/mpd/mpd.nix
 | 
			
		||||
      ];
 | 
			
		||||
    })
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,9 +14,15 @@
 | 
			
		|||
    lib.mkIf config.targets.genericLinux.enable
 | 
			
		||||
    {
 | 
			
		||||
      package = pkgs.nix;
 | 
			
		||||
      settings.experimental-features = ["nix-command" "flakes"];
 | 
			
		||||
      settings.max-jobs = "auto";
 | 
			
		||||
      gc.automatic = true;
 | 
			
		||||
      settings = {
 | 
			
		||||
        experimental-features = ["nix-command" "flakes"];
 | 
			
		||||
        max-jobs = "auto";
 | 
			
		||||
      };
 | 
			
		||||
      gc = {
 | 
			
		||||
        automatic = true;
 | 
			
		||||
        frequency = "weekly";
 | 
			
		||||
        options = "--delete-older-than 30d";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../hostopts.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,52 +0,0 @@
 | 
			
		|||
asciidoc
 | 
			
		||||
ASCIISite
 | 
			
		||||
asciidoctor
 | 
			
		||||
ASCIIsite
 | 
			
		||||
asciiDoc
 | 
			
		||||
nextcloud
 | 
			
		||||
filesystem
 | 
			
		||||
zsh
 | 
			
		||||
backend
 | 
			
		||||
Incrementals
 | 
			
		||||
incrementals
 | 
			
		||||
Ransomware
 | 
			
		||||
ransomware
 | 
			
		||||
hypervisor
 | 
			
		||||
offsite
 | 
			
		||||
FTL
 | 
			
		||||
superintelligent
 | 
			
		||||
homeworld
 | 
			
		||||
toolchain
 | 
			
		||||
Kata
 | 
			
		||||
ctl
 | 
			
		||||
NDSU
 | 
			
		||||
rebasing
 | 
			
		||||
posix
 | 
			
		||||
tmux
 | 
			
		||||
keybinds
 | 
			
		||||
dotfile
 | 
			
		||||
dotfiles
 | 
			
		||||
ctrl
 | 
			
		||||
sed
 | 
			
		||||
NGINX
 | 
			
		||||
timezones
 | 
			
		||||
Proxmox
 | 
			
		||||
Gabe
 | 
			
		||||
Venberg
 | 
			
		||||
Github
 | 
			
		||||
dotfiles
 | 
			
		||||
config
 | 
			
		||||
nvim
 | 
			
		||||
neovim
 | 
			
		||||
config
 | 
			
		||||
Syncthing
 | 
			
		||||
homelab
 | 
			
		||||
microcontrollers
 | 
			
		||||
nushell
 | 
			
		||||
datatypes
 | 
			
		||||
datetimes
 | 
			
		||||
filesizes
 | 
			
		||||
filetypes
 | 
			
		||||
datastructures
 | 
			
		||||
footguns
 | 
			
		||||
csv
 | 
			
		||||
| 
						 | 
				
			
			@ -13,6 +13,15 @@
 | 
			
		|||
    extraOptions = ''
 | 
			
		||||
      experimental-features = nix-command flakes
 | 
			
		||||
    '';
 | 
			
		||||
    optimise.automatic = true;
 | 
			
		||||
    settings = {
 | 
			
		||||
      auto-optimise-store = true;
 | 
			
		||||
    };
 | 
			
		||||
    gc = {
 | 
			
		||||
      automatic = true;
 | 
			
		||||
      dates = "weekly";
 | 
			
		||||
      options = "--delete-older-than 30d";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Allow unfree packages
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue