more stuff

This commit is contained in:
Tyler Mac
2026-08-19 20:06:54 -04:00
parent cde5644b3e
commit 71ec81c2e6
+8 -3
View File
@@ -6,9 +6,12 @@
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-23.11"; url = "github:nix-community/home-manager/release-23.11";
}; };
tmux-flake = {
url = "github:jakehamilton/tmux";
};
}; };
outputs = { self, nixpkgs, home-manager }: outputs = { self, nixpkgs, home-manager, tmux-flake }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@@ -18,12 +21,14 @@
}; };
}; };
in { in {
# Use the local tmux package as a fallback to resolve archive errors # Use tmux from jakehamilton/tmux repository
# This ensures the configuration works even if remote repository issues occur
homeConfigurations."tyler" = home-manager.lib.homeManagerConfiguration { homeConfigurations."tyler" = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [ modules = [
({ pkgs, ... }: { ({ pkgs, ... }: {
# Use the tmux package from jakehamilton/tmux repository
programs.tmux.package = tmux-flake.packages.${system}.tmux;
# Include all other settings from the original home.nix # Include all other settings from the original home.nix
imports = [ ./home-manager/home.nix ]; imports = [ ./home-manager/home.nix ];
}) })