refactor(flake): move nixos configs into flake
This commit is contained in:
parent
fc259dff4a
commit
9f8c3bb923
67 changed files with 45 additions and 56 deletions
23
modules/programs/editorconfig.nix
Normal file
23
modules/programs/editorconfig.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
home-manager.users.rafiq = {
|
||||
editorconfig = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"*" = {
|
||||
end_of_line = "lf";
|
||||
insert_final_newline = true;
|
||||
trim_trailing_whitespace = true;
|
||||
charset = "utf-8";
|
||||
indent_style = "space";
|
||||
indent_size = 2;
|
||||
};
|
||||
"package.json" = {
|
||||
indent_style = "unset";
|
||||
};
|
||||
"*.lock" = {
|
||||
indent_size = "unset";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue