diff --git a/flake.nix b/flake.nix index 8d5a9f4..8f70442 100644 --- a/flake.nix +++ b/flake.nix @@ -15,8 +15,17 @@ teracli.url = "github:chevdor/tera-cli"; }; - outputs = { self, nixpkgs, flake-utils, flake-compat, gitignore, teracli }: - flake-utils.lib.eachDefaultSystem (system: + outputs = + { + self, + nixpkgs, + flake-utils, + flake-compat, + gitignore, + teracli, + }: + flake-utils.lib.eachDefaultSystem ( + system: let pkgs = import nixpkgs { inherit system; @@ -30,8 +39,9 @@ ]; }; inherit (gitignore.lib) gitignoreSource; - polytype = rec { - }; + polytype = + rec { + }; in with pkgs; { @@ -62,7 +72,7 @@ FONTCONFIG_FILE = fontsConf; shellHook = '' make fonts - ''; + ''; }; } ); diff --git a/shell.nix b/shell.nix index 3732296..5148eae 100644 --- a/shell.nix +++ b/shell.nix @@ -1,10 +1,15 @@ # https://nixos.wiki/wiki/Flakes#Using_flakes_project_from_a_legacy_Nix -(import ( - let - lock = builtins.fromJSON (builtins.readFile ./flake.lock); - in fetchTarball { - url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; - sha256 = lock.nodes.flake-compat.locked.narHash; } -) { - src = ./.; -}).shellNix +(import + ( + let + lock = builtins.fromJSON (builtins.readFile ./flake.lock); + in + fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; + sha256 = lock.nodes.flake-compat.locked.narHash; + } + ) + { + src = ./.; + } +).shellNix