all repos — nixfiles @ c0f81ddf8a2d3bccd1e36aa239737b598bdd13d4

System and user configuration, managed by nix and home-manager

reformat nix files

Alan Pearce
commit

c0f81ddf8a2d3bccd1e36aa239737b598bdd13d4

parent

8b50a783c12382ef7bfeef1eaa032dea936b20fb

2 files changed, 25 insertions(+), 28 deletions(-)

changed files
M flake.nixflake.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.nixuser/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