reformat nix files
2 files changed, 25 insertions(+), 28 deletions(-)
changed files
M flake.nix → flake.nix
@@ -75,23 +75,23 @@ }; modules = [ nixvim.homeModules.nixvim - ] ++ modules; + ] + ++ modules; }; in { nixosConfigurations.prefect = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = - [ - ./system/prefect.nix - ] - ++ (with nixos-hardware.nixosModules; [ - common-cpu-amd - common-cpu-amd-pstate - common-pc-ssd - common-pc - common-gpu-nvidia-nonprime - ]); + modules = [ + ./system/prefect.nix + ] + ++ (with nixos-hardware.nixosModules; [ + common-cpu-amd + common-cpu-amd-pstate + common-pc-ssd + common-pc + common-gpu-nvidia-nonprime + ]); }; nixosConfigurations.nano = nixpkgs.lib.nixosSystem { system = "aarch64-linux";
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -190,24 +190,21 @@ lsp-mode = self.melpaPackages.lsp-mode.overrideAttrs { LSP_USE_PLISTS = "true"; # must be set in early-init }; tabnine = self.melpaPackages.tabnine.overrideAttrs (attrs: { - postPatch = - (attrs.postPatch or "") - + '' - substituteInPlace tabnine-core.el \ - --replace '(tabnine--executable-path)' '"${pkgs.tabnine}/bin/TabNine"' - ''; + postPatch = (attrs.postPatch or "") + '' + substituteInPlace tabnine-core.el \ + --replace '(tabnine--executable-path)' '"${pkgs.tabnine}/bin/TabNine"' + ''; }); }; - extraConfig = - '' - (with-eval-after-load 'editorconfig - (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig")) - '' - + lib.optionalString stdenv.isDarwin '' - (with-eval-after-load 'dired - (setq insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls" - dired-use-ls-dired t)) - ''; + extraConfig = '' + (with-eval-after-load 'editorconfig + (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig")) + '' + + lib.optionalString stdenv.isDarwin '' + (with-eval-after-load 'dired + (setq insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls" + dired-use-ls-dired t)) + ''; }; home.packages = with pkgs; [ editorScript