Files
dendritic/modules/hosts/janus.nix
John Lancaster 6e319ffc9c janus updates
2026-03-14 12:13:17 -05:00

31 lines
693 B
Nix

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