Files
dendritic/modules/hosts/test-nix.nix
John Lancaster 9c26c962ff slight reorg
2026-03-15 15:44:24 -05:00

32 lines
699 B
Nix

{ inputs, ... }:
let
username = "john";
hostname = "test-nix";
in
{
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
modules = with inputs.self.modules; [
nixos.lxc
nixos.sops
nixos.step-ssh-host
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;
};
};
}
];
};
}