feat: introduce treefmt and fmt all
This commit is contained in:
parent
80250b0179
commit
27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions
|
@ -4,9 +4,9 @@
|
|||
repoFlakeInputs',
|
||||
packages',
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
# TODO: make this configurable
|
||||
homeUser = "steveej";
|
||||
commonHomeImports = [
|
||||
|
@ -14,10 +14,9 @@
|
|||
../../home-manager/programs/neovim.nix
|
||||
../../home-manager/programs/zsh.nix
|
||||
];
|
||||
in {
|
||||
imports = [
|
||||
nodeFlake.inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = [ nodeFlake.inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
# TODO: investigate an issue with the "name" arg contained here, which causes problems with home-manager
|
||||
# home-manager.extraSpecialArgs = specialArgs;
|
||||
|
@ -34,15 +33,11 @@ in {
|
|||
home-manager.useGlobalPkgs = false;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
home-manager.users.root = _: {
|
||||
imports = commonHomeImports;
|
||||
};
|
||||
home-manager.users.root = _: { imports = commonHomeImports; };
|
||||
|
||||
home-manager.users."${homeUser}" = _: {
|
||||
imports = commonHomeImports;
|
||||
};
|
||||
home-manager.users."${homeUser}" = _: { imports = commonHomeImports; };
|
||||
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
environment.pathsToLink = ["/share/zsh"];
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue