more stuff
This commit is contained in:
@@ -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 ];
|
||||
})
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user