style: format with nix fmt
Currently uses `nixpkgs-fmt`
This commit is contained in:
parent
a6efd4146b
commit
36e14ad3f6
10 changed files with 267 additions and 263 deletions
|
@ -8,9 +8,11 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
home.activation = lib.mkIf pkgs.stdenv.isDarwin {
|
home.activation = lib.mkIf pkgs.stdenv.isDarwin {
|
||||||
trampolineApps = let
|
trampolineApps =
|
||||||
|
let
|
||||||
mac-app-util = inputs.mac-app-util.packages.${pkgs.stdenv.system}.default;
|
mac-app-util = inputs.mac-app-util.packages.${pkgs.stdenv.system}.default;
|
||||||
in lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
in
|
||||||
|
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
fromDir="$HOME/Applications/Home Manager Apps"
|
fromDir="$HOME/Applications/Home Manager Apps"
|
||||||
toDir="$HOME/Applications/Home Manager Trampolines"
|
toDir="$HOME/Applications/Home Manager Trampolines"
|
||||||
${mac-app-util}/bin/mac-app-util sync-trampolines "$fromDir" "$toDir"
|
${mac-app-util}/bin/mac-app-util sync-trampolines "$fromDir" "$toDir"
|
||||||
|
|
|
@ -11,7 +11,8 @@ let
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cp = "${pkgs.advcpmv}/bin/advcp -rvi";
|
cp = "${pkgs.advcpmv}/bin/advcp -rvi";
|
||||||
mv = "${pkgs.advcpmv}/bin/advmv -vi";
|
mv = "${pkgs.advcpmv}/bin/advmv -vi";
|
||||||
rebuild = let
|
rebuild =
|
||||||
|
let
|
||||||
rebuild_script = pkgs.writeShellScript "rebuild" ''
|
rebuild_script = pkgs.writeShellScript "rebuild" ''
|
||||||
${
|
${
|
||||||
let
|
let
|
||||||
|
|
|
@ -65,7 +65,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable ( let
|
config = mkIf cfg.enable (
|
||||||
|
let
|
||||||
# mindustryJar = builtins.fetchurl {
|
# mindustryJar = builtins.fetchurl {
|
||||||
# url = cfg.jarUrl;
|
# url = cfg.jarUrl;
|
||||||
# sha256 = cfg.jarSha256;
|
# sha256 = cfg.jarSha256;
|
||||||
|
|
Loading…
Reference in a new issue