summaryrefslogtreecommitdiff
path: root/templates/full/nix/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-08-24 07:49:07 -0400
committerseth <[email protected]>2023-08-24 07:49:07 -0400
commitfab63c5065d06e577dab7faec41a8365b80c48e4 (patch)
tree6ebe19664758903f0c6d2df619496c405de612cd /templates/full/nix/default.nix
parentd266cbb1844959961e7aa12a9b979d8676d14e98 (diff)
templates/full: improve layout
Diffstat (limited to 'templates/full/nix/default.nix')
-rw-r--r--templates/full/nix/default.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/full/nix/default.nix b/templates/full/nix/default.nix
index 4b52983..2033702 100644
--- a/templates/full/nix/default.nix
+++ b/templates/full/nix/default.nix
@@ -1,6 +1,17 @@
_: {
imports = [
- ./packages
- ./flake
+ ./dev.nix
+ ./pkgs
];
+
+ systems = [
+ "x86_64-linux"
+ "aarch64-linux"
+ "x86_64-darwin"
+ "aarch64-darwin"
+ ];
+
+ perSystem = {pkgs, ...}: {
+ formatter = pkgs.alejandra;
+ };
}