style: format with nix fmt

Currently uses `nixpkgs-fmt`
This commit is contained in:
reo101 2024-01-25 17:39:43 +02:00
parent a6efd4146b
commit 36e14ad3f6
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
10 changed files with 267 additions and 263 deletions

View file

@ -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"

View file

@ -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

View file

@ -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;