about summary refs log tree commit diff
path: root/users/flokli/nixos/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-29T16·28+0200
committerflokli <flokli@flokli.de>2023-10-29T16·31+0000
commit48b6242313f9ecbc49a9e768f59a966348f6446c (patch)
tree19e4f51e7bd4f049f9e412c8528df640059f85fd /users/flokli/nixos/default.nix
parent12fb5004d9033ca50579deddcdb5ee0160a296fd (diff)
feat(users/flokli/nixos): init archeology r/6903
Change-Id: Ic31cb8030179ff37b1cc3d3d9241e2582cfe3e5e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9833
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'users/flokli/nixos/default.nix')
-rw-r--r--users/flokli/nixos/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/flokli/nixos/default.nix b/users/flokli/nixos/default.nix
new file mode 100644
index 000000000000..6a182a269e5c
--- /dev/null
+++ b/users/flokli/nixos/default.nix
@@ -0,0 +1,16 @@
+{ depot, pkgs, lib, ... }:
+
+let
+  inherit (depot.users.flokli.nixos)
+    archeology;
+
+  systemFor = sys: (depot.ops.nixos.nixosFor sys).system;
+
+in
+{
+  archeologySystem = (depot.ops.nixos.nixosFor ({ modulesPath, ... }: {
+    imports = [
+      ./archeology/configuration.nix
+    ];
+  })).config.system.build.toplevel;
+}