From d9b9208aa849972ba7f0506ff6d4284d17cc5017 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 28 Jul 2025 16:04:11 +0200 Subject: [PATCH] feat: adds `posy` host --- flake.nix | 17 ++++++++++------- modules/core/user.nix | 2 ++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 93bb76a..1256397 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,6 @@ inherit system; modules = [ (import ./hosts/sakura) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "sakura"; @@ -51,7 +50,6 @@ inherit system; modules = [ (import ./hosts/yoshino) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "yoshino"; @@ -62,7 +60,6 @@ inherit system; modules = [ (import ./hosts/ichiyo) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "ichiyo"; @@ -73,7 +70,6 @@ inherit system; modules = [ (import ./hosts/violet) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "violet"; @@ -84,7 +80,6 @@ inherit system; modules = [ (import ./hosts/dandelion) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "dandelion"; @@ -95,7 +90,6 @@ inherit system; modules = [ (import ./hosts/lily) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "lily"; @@ -106,13 +100,22 @@ inherit system; modules = [ (import ./hosts/zinnia) - # sops-nix.nixosModules.sops ]; specialArgs = { host = "zinnia"; inherit self inputs username; }; }; + posy = nixpkgs.lib.nixosSystem { + system = "aarch64-linux"; + modules = [ + (import ./hosts/posy) + ]; + specialArgs = { + host = "posy"; + inherit self inputs username; + }; + }; }; }; } diff --git a/modules/core/user.nix b/modules/core/user.nix index 756878a..eef3a74 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -24,6 +24,8 @@ [ ./../home/default.server.nix ] else if (host == "lily") then [ ./../home/default.server.nix ] + else if (host == "posy") then + [ ./../home/default.server.nix ] # else if (host == "yoshino") then # [ ./../home/default.nix ] else