This commit is contained in:
John Lancaster
2026-03-10 21:48:44 -05:00
parent 95391fc713
commit 7eaa32f161
7 changed files with 189 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
{
imports = with inputs.self.homeModules; [
rebuild
ssh
# ssh
git
shell-tools
];

View File

@@ -1,25 +0,0 @@
{
flake.homeModules.docker = { config, lib, pkgs, ... }:
{
options.docker = {
enable = lib.mkEnableOption "Docker tools and utilities";
};
config = lib.mkIf config.docker.enable {
programs.lazydocker.enable = true;
programs.docker-cli.enable = true;
home.packages = with pkgs; [
docker
docker-compose
lazydocker
(pkgs.writeShellScriptBin "test-docker" ''
echo "Hello from docker.nix!"
'')
];
home.shellAliases = {
lzd = "lazydocker";
};
};
};
}

View File

@@ -117,4 +117,17 @@ in
};
};
};
flake.modules.nixos.ssh = {
services.openssh = {
enable = true;
# require public key authentication for better security
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
home-manager.sharedModules = with inputs.self.homeModules; [
ssh
];
};
}