From 9bd2bb1a0f71aac4ed01a0a0fb3fe54afe71bc49 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Wed, 11 Mar 2026 00:27:46 -0500 Subject: [PATCH] streamlined janus config --- modules/hosts/janus.nix | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/modules/hosts/janus.nix b/modules/hosts/janus.nix index f8559a2..5ccce04 100644 --- a/modules/hosts/janus.nix +++ b/modules/hosts/janus.nix @@ -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; + }; + }; + } ]; }; } \ No newline at end of file