Files
my-default-nix-home/flake.nix
T
2026-08-19 20:01:48 -04:00

33 lines
931 B
Nix

{
description = "My Nix flake for cross-platform development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
};
};
outputs = { self, nixpkgs, home-manager }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in {
# 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 ];
})
];
};
};
}