various reorgs

This commit is contained in:
John Lancaster
2026-04-20 23:52:03 -05:00
parent 443020df4d
commit cf90d3e876
9 changed files with 74 additions and 79 deletions
+10 -19
View File
@@ -1,29 +1,20 @@
# This module provides all the shell options
{ inputs, lib, ... }:
{
{ self, inputs, ... }: {
flake.modules.homeManager.shell-tools = { config, pkgs, ... }: {
options.shell.program = lib.mkOption {
type = lib.types.enum [ "bash" "zsh" ];
default = "zsh";
description = "Which interactive shell configuration to enable.";
};
imports = with inputs.self.modules.homeManager; [
bash
# bash
zsh
files
];
config = {
home.shell.enableShellIntegration = true;
programs.zsh.enable = lib.mkForce (config.shell.program == "zsh");
home.packages = with pkgs; [
btop
uv
xclip
inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.shell-tools
];
};
home.packages = with pkgs; [
btop
uv
xclip
inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.shell-tools
];
home.shell.enableShellIntegration = true;
};
perSystem = { system, pkgs, self', ... }: {