add in chanages to match existing helix config
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "Home Manager configuration with tmux, helix, zsh, starship, alacritty, git, ssh for WSL, Linux, and Mac M1 with Docker and conditional language support";
|
||||
description = "My Nix flake for cross-platform development environment";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
@@ -7,51 +7,27 @@
|
||||
url = "github:nix-community/home-manager/release-23.11";
|
||||
};
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
tmux = {
|
||||
url = "github:jakehamilton/tmux";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
my-repo = {
|
||||
url = "https://gitea.tylerbohrer.dev/tyler/my-default-nix-home";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, flake-utils, tmux }:
|
||||
outputs = { self, nixpkgs, home-manager, flake-utils, my-repo }:
|
||||
flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-darwin" "x86_64-windows" ] (system: let
|
||||
pkgs = import nixpkgs {
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
in {
|
||||
# Development shell with all our tools
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
tmux
|
||||
helix
|
||||
zsh
|
||||
git
|
||||
openssh
|
||||
alacritty
|
||||
starship
|
||||
htop
|
||||
docker-client
|
||||
docker-compose
|
||||
odin
|
||||
ols
|
||||
harper
|
||||
gcc
|
||||
gnumake
|
||||
];
|
||||
homeConfig = import ./home-manager/home.nix {
|
||||
inherit pkgs;
|
||||
tmuxPackage = my-repo.packages.${system}.tmux;
|
||||
};
|
||||
|
||||
# Home Manager configuration
|
||||
homeConfigurations."tylerbohrer" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
(import ./home-manager/home.nix {
|
||||
inherit pkgs;
|
||||
tmuxPackage = tmux.packages.${system}.tmux;
|
||||
})
|
||||
];
|
||||
in {
|
||||
packages.default = homeConfig;
|
||||
checks = {
|
||||
home-manager = homeConfig;
|
||||
};
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user