refactor: further progress

This commit is contained in:
2026-04-25 00:19:20 +02:00
parent 55fbe82a42
commit 0500aab3cb
31 changed files with 680 additions and 398 deletions
+5 -4
View File
@@ -1,19 +1,21 @@
{
inputs,
config,
lib,
...
}:
let
nixosModules = config.flake.modules.nixos;
hmModules = config.flake.modules.homeManager;
accounts = config.repo.accounts;
in
{
repo.machines.orion = {
buildFunction = config.repo.helpers.mkHost;
module = nixosModules.orion;
accounts = lib.getAttrs [ "kiri" ] config.repo.accounts;
users.kiri = {
account = accounts.kiri;
syncthingId = "NNRNQKZ-OWPHSVA-B6KKBHE-SDYLSTV-7SVHGPR-NEWLKPL-4MWNJG4-G5FHUAI";
};
stateVersion = "24.05";
hmStateVersion = "24.05";
@@ -23,7 +25,6 @@ in
{ ... }:
{
imports = [
nixosModules.host-base
nixosModules.sops-host-ssh-key
nixosModules.openssh
nixosModules.caddy