aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 10:55:31 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 11:00:37 -0700
commit9511e0069947cf823df0676eb2e72d8777d5a467 (patch)
tree3f3312df36f089774240171166632f78aeb3d817 /flake.nix
parentref(nix): rename lib/ to nix/ (diff)
downloadinfra-9511e0069947cf823df0676eb2e72d8777d5a467.tar.gz
ref(nix): move the mkSystem function to its own file
Make the default system be x86-linux. Change-Id: I13e00e4d4cb8b7c49cc549509e37a6d0f022a051 Reviewed-on: https://cl.fcuny.net/c/world/+/299 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 3 insertions, 12 deletions
diff --git a/flake.nix b/flake.nix
index d8990da..3f8a401 100644
--- a/flake.nix
+++ b/flake.nix
@@ -33,18 +33,9 @@
let lib = import ./nix { inherit inputs; };
in {
nixosConfigurations = {
- carmel = lib.mkSystem {
- hostname = "carmel";
- system = "x86_64-linux";
- };
- aptos = lib.mkSystem {
- hostname = "aptos";
- system = "x86_64-linux";
- };
- tahoe = lib.mkSystem {
- hostname = "tahoe";
- system = "x86_64-linux";
- };
+ carmel = lib.mkSystem { hostname = "carmel"; };
+ aptos = lib.mkSystem { hostname = "aptos"; };
+ tahoe = lib.mkSystem { hostname = "tahoe"; };
};
} // inputs.utils.lib.eachDefaultSystem (system:
let