Files
dendritic/modules/hosts/janus.nix
John Lancaster e1bfcb825f formatting
2026-03-14 12:10:57 -05:00

27 lines
603 B
Nix

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