streamlined janus config
This commit is contained in:
@@ -4,29 +4,23 @@ let
|
|||||||
username ="john";
|
username ="john";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.modules.nixos."${hostname}" = { pkgs, ... }: {
|
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
imports = [
|
modules = [
|
||||||
inputs.self.modules.nixos.lxc
|
inputs.self.modules.nixos.lxc
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.self.modules.nixos."${username}"
|
inputs.self.modules.nixos."${username}"
|
||||||
# inputs.self.modules.nixos.step-ca
|
# inputs.self.modules.nixos.step-ca
|
||||||
inputs.self.modules.nixos.docker
|
inputs.self.modules.nixos.docker
|
||||||
];
|
{
|
||||||
home-manager.users."${username}" = {
|
home-manager.users."${username}" = {
|
||||||
# imports = with inputs.self.modules; [
|
shell.program = "zsh";
|
||||||
# homeManager."${username}"
|
docker.enable = true;
|
||||||
# ];
|
ssh.matchSets = {
|
||||||
docker.enable = true;
|
certs = true;
|
||||||
ssh.matchSets = {
|
homelab = true;
|
||||||
certs = true;
|
};
|
||||||
homelab = true;
|
};
|
||||||
};
|
}
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
|
|
||||||
modules = [
|
|
||||||
inputs.self.modules.nixos."${hostname}"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user