streamlined janus config

This commit is contained in:
John Lancaster
2026-03-11 00:27:46 -05:00
parent ed5cecd24d
commit 9bd2bb1a0f

View File

@@ -4,29 +4,23 @@ let
username ="john";
in
{
flake.modules.nixos."${hostname}" = { pkgs, ... }: {
imports = [
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.self.modules.nixos.lxc
inputs.home-manager.nixosModules.home-manager
inputs.self.modules.nixos."${username}"
# inputs.self.modules.nixos.step-ca
inputs.self.modules.nixos.docker
];
home-manager.users."${username}" = {
# imports = with inputs.self.modules; [
# homeManager."${username}"
# ];
docker.enable = true;
ssh.matchSets = {
certs = true;
homelab = true;
};
};
};
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.self.modules.nixos."${hostname}"
{
home-manager.users."${username}" = {
shell.program = "zsh";
docker.enable = true;
ssh.matchSets = {
certs = true;
homelab = true;
};
};
}
];
};
}