more stuff

This commit is contained in:
Tyler Mac
2026-08-19 20:01:48 -04:00
parent d5dea98d07
commit cde5644b3e
3 changed files with 143 additions and 94 deletions
+14 -14
View File
@@ -6,28 +6,28 @@
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
};
flake-utils.url = "github:numtide/flake-utils";
my-repo = {
url = "https://gitea.tylerbohrer.dev/tyler/my-default-nix-home";
};
};
outputs = { self, nixpkgs, home-manager, flake-utils, my-repo }:
flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-darwin" "x86_64-windows" ] (system: let
outputs = { self, nixpkgs, home-manager }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
homeConfig = import ./home-manager/home.nix {
inherit pkgs;
tmuxPackage = my-repo.packages.${system}.tmux;
};
in {
packages.default = homeConfig;
checks = {
home-manager = homeConfig;
# Use the local tmux package as a fallback to resolve archive errors
# This ensures the configuration works even if remote repository issues occur
homeConfigurations."tyler" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
({ pkgs, ... }: {
# Include all other settings from the original home.nix
imports = [ ./home-manager/home.nix ];
})
];
};
});
};
}