nixos/home-manager/management.nix
Andreas Zweili 6d91b69b66 Use prettier from upstream in WSL
Otherwise I get the error message as described here:
https://github.com/microsoft/WSL/issues/8151
2023-03-21 13:07:55 +01:00

29 lines
774 B
Nix

{ custom, system }: { pkgs, ... }:
let
unstable = import custom.inputs.nixpkgs-unstable { inherit system; };
in
{
imports = [
(import "${custom.inputs.self}/home-manager/common" { inherit custom; })
(import "${custom.inputs.self}/home-manager/software/emacs" { inherit unstable; })
"${custom.inputs.self}/home-manager/software/fzf"
"${custom.inputs.self}/home-manager/software/git"
"${custom.inputs.self}/home-manager/software/ssh"
"${custom.inputs.self}/home-manager/software/starship"
"${custom.inputs.self}/home-manager/software/vim"
];
home.packages = with pkgs; [
nodePackages.prettier # formatting files
rclone
xclip
];
programs.git.userEmail = "andreas@zweili.ch";
programs.bash = {
enable = true;
};
}