diff options
author | figsoda <figsoda@pm.me> | 2022-12-01 11:20:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 11:20:11 -0500 |
commit | 5195ca234686708d662bc7f3b26f83f7408788b5 (patch) | |
tree | bb693746a553eb125f415d1703da55efb250a9e9 /nixos/modules/profiles | |
parent | 6065d768e145ca5782e961774b5f06f0a0520729 (diff) | |
parent | b865b96b9734658add24b41bf002fd8053ec8f73 (diff) |
Merge pull request #203826 from figsoda/lint
nixos/*: apply some lints from statix and nil
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r-- | nixos/modules/profiles/docker-container.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nixos/modules/profiles/docker-container.nix b/nixos/modules/profiles/docker-container.nix index 183645de36fbe..5365e49711dce 100644 --- a/nixos/modules/profiles/docker-container.nix +++ b/nixos/modules/profiles/docker-container.nix @@ -1,13 +1,12 @@ { config, lib, pkgs, ... }: -with lib; - -let inherit (pkgs) writeScript; in - let - pkgs2storeContents = l : map (x: { object = x; symlink = "none"; }) l; + inherit (pkgs) writeScript; + + pkgs2storeContents = map (x: { object = x; symlink = "none"; }); +in -in { +{ # Docker image config. imports = [ ../installer/cd-dvd/channel.nix |