more stuff
This commit is contained in:
@@ -6,9 +6,12 @@
|
||||
home-manager = {
|
||||
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
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
@@ -18,12 +21,14 @@
|
||||
};
|
||||
};
|
||||
in {
|
||||
# Use the local tmux package as a fallback to resolve archive errors
|
||||
# This ensures the configuration works even if remote repository issues occur
|
||||
# Use tmux from jakehamilton/tmux repository
|
||||
homeConfigurations."tyler" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
({ 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
|
||||
imports = [ ./home-manager/home.nix ];
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user