From 6e319ffc9cfb88f7046ac7029a360d78ba15f723 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sat, 14 Mar 2026 12:13:17 -0500 Subject: [PATCH] janus updates --- modules/hosts/janus.nix | 10 +++++++--- modules/hosts/john-pc-ubuntu.nix | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/hosts/janus.nix b/modules/hosts/janus.nix index b31d907..7a0e1c7 100644 --- a/modules/hosts/janus.nix +++ b/modules/hosts/janus.nix @@ -1,19 +1,23 @@ { inputs, ... }: let - username ="john"; + username = "john"; hostname = "janus"; in { flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem { modules = with inputs.self.modules; [ nixos.lxc - nixos.zsh + nixos.sops + nixos.step-client inputs.home-manager.nixosModules.home-manager nixos."${username}" - # inputs.self.modules.nixos.step-ca + nixos.zsh nixos.docker { home-manager.users."${username}" = { + imports = with inputs.self.modules.homeManager; [ + sops + ]; shell.program = "zsh"; docker.enable = true; ssh.matchSets = { diff --git a/modules/hosts/john-pc-ubuntu.nix b/modules/hosts/john-pc-ubuntu.nix index e90c48b..3a91f2e 100644 --- a/modules/hosts/john-pc-ubuntu.nix +++ b/modules/hosts/john-pc-ubuntu.nix @@ -28,7 +28,7 @@ in home.packages = with pkgs; [ nixos-rebuild (writeShellScriptBin "test-push" '' - nixos-rebuild switch --flake ${flakeDir}#test-nix --target-host root@${testTarget} + nixos-rebuild switch --flake ${flakeDir}#janus --target-host root@${testTarget} '') ]; # TODO: Add host-specific settings here: