aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-26 13:28:06 -0700
committerFuwn <[email protected]>2021-04-26 13:28:06 -0700
commitead4b81267c8d249370a6e9c793b9e6011e02a80 (patch)
treeb409e1a0d801bc6f2bdfae6631ae779bc28172e2 /default.nix
parentetc: Remove legacy server module (diff)
downloadwhirl-ead4b81267c8d249370a6e9c793b9e6011e02a80.tar.xz
whirl-ead4b81267c8d249370a6e9c793b9e6011e02a80.zip
fmt: Fix whitespace
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/default.nix b/default.nix
index 5691a41..1b279f4 100644
--- a/default.nix
+++ b/default.nix
@@ -1,20 +1,20 @@
- { system ? builtins.currentSystem }:
+{ system ? builtins.currentSystem }:
- let
- sources = import ./nix/sources.nix;
- pkgs = import sources.nixpkgs { };
- whirl = import ./whirl.nix { inherit sources pkgs; };
+let
+ sources = import ./nix/sources.nix;
+ pkgs = import sources.nixpkgs { };
+ whirl = import ./whirl.nix { inherit sources pkgs; };
- name = "Whirlsplash/whirl";
- tag = "latest";
+ name = "Whirlsplash/whirl";
+ tag = "latest";
in pkgs.dockerTools.buildLayeredImage {
- inherit name tag;
- contents = [ whirl ];
+ inherit name tag;
+ contents = [ whirl ];
- config = {
- Cmd = [ "/bin/whirl" ];
- Env = [ ];
- WorkingDir = "/";
- };
+ config = {
+ Cmd = [ "/bin/whirl" ];
+ Env = [ ];
+ WorkingDir = "/";
+ };
}