summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/hosts/default.nix b/hosts/default.nix
new file mode 100644
index 0000000..266d30c
--- /dev/null
+++ b/hosts/default.nix
@@ -0,0 +1,26 @@
+{
+ lib,
+ inputs,
+ outputs,
+ self,
+ ...
+}:
+let
+ secrets = builtins.fromTOML (builtins.readFile "${self}/secrets/secrets.toml");
+in
+{
+ flake.nixosConfigurations.kansai = lib.nixosSystem {
+ specialArgs = {
+ inherit inputs outputs secrets;
+ };
+
+ modules = [
+ inputs.home-manager.nixosModule
+ inputs.pia.nixosModule
+ inputs.nix-index-database.nixosModules.nix-index
+ inputs.nur.nixosModules.nur
+ inputs.chaotic.nixosModules.default
+ ./kansai
+ ];
+ };
+}