editor shit
This commit is contained in:
parent
633a966e52
commit
b11e8347c1
14 changed files with 160 additions and 16 deletions
14
home/apps/development/default.nix
Normal file
14
home/apps/development/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./emacs.nix
|
||||
./neovim.nix
|
||||
./zed.nix
|
||||
];
|
||||
}
|
||||
20
home/apps/development/emacs.nix
Normal file
20
home/apps/development/emacs.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
osConfig,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs = {
|
||||
emacs = {
|
||||
extraConfig = ''
|
||||
(setq standard-indent 2)
|
||||
'';
|
||||
extraPackages = epkgs: [
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
20
home/apps/development/emacs.nix~
Normal file
20
home/apps/development/emacs.nix~
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
osConfig,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs = {
|
||||
emacs = {
|
||||
extraConfig = ''
|
||||
(setq standard-indent 2)
|
||||
'';
|
||||
extraPackages = epkgs: [
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
23
home/apps/development/neovim.nix
Normal file
23
home/apps/development/neovim.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs = {
|
||||
neovim = {
|
||||
plugins =
|
||||
with pkgs.vimPlugins;
|
||||
[
|
||||
telescope-nvim
|
||||
]
|
||||
++ [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
23
home/apps/development/zed.nix
Normal file
23
home/apps/development/zed.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs = {
|
||||
zed-editor = {
|
||||
extensions = [
|
||||
"nix"
|
||||
"toml"
|
||||
"rust"
|
||||
"html"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue