mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
ref: merged nixos and macOS configuration
This commit is contained in:
parent
76632a9d1c
commit
fcba199e19
21 changed files with 35 additions and 12 deletions
|
|
@ -1,31 +0,0 @@
|
|||
{ pkgs, unstable, ... }: {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [ ./dev.nix ];
|
||||
|
||||
home = {
|
||||
username = "leana";
|
||||
homeDirectory = "/home/leana";
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# shell and script dependencies
|
||||
fish
|
||||
figlet
|
||||
gnused
|
||||
starship
|
||||
stow
|
||||
ripgrep
|
||||
fd
|
||||
fzf
|
||||
vivid
|
||||
|
||||
# utils
|
||||
btop
|
||||
tree
|
||||
rsync
|
||||
tldr
|
||||
];
|
||||
|
||||
}
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
{ pkgs, unstable, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
# Editors and utils
|
||||
tmux
|
||||
neovim
|
||||
vim
|
||||
hyperfine
|
||||
watchexec
|
||||
tea
|
||||
tokei
|
||||
|
||||
# Generic LSPs
|
||||
vscode-langservers-extracted # HTML/CSS/JSON/ESLint
|
||||
nodePackages.bash-language-server # Bash
|
||||
marksman # Markdown
|
||||
nodePackages.pyright # Python
|
||||
taplo # TOML
|
||||
texlab # LaTeX
|
||||
typescript # TypeScript
|
||||
nodePackages.vim-language-server # Vim Script
|
||||
typst-lsp # Typst
|
||||
lua-language-server # Lua
|
||||
|
||||
# git
|
||||
git
|
||||
git-lfs
|
||||
bat
|
||||
delta
|
||||
gnupg
|
||||
|
||||
nil
|
||||
alejandra
|
||||
nixfmt
|
||||
|
||||
# (python39.withPackages (ps:
|
||||
# with ps; [
|
||||
# beautifulsoup4
|
||||
# requests
|
||||
#
|
||||
# # python-lsp-server
|
||||
# # rope
|
||||
# # pyflakes
|
||||
# # mccabe
|
||||
# # pycodestyle
|
||||
# # pydocstyle
|
||||
# # autopep8
|
||||
# ]))
|
||||
|
||||
# jdk17
|
||||
# rustup
|
||||
# nodejs_20
|
||||
# unstable.opam
|
||||
];
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
{ pkgs, unstable, ... }: {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [ ./dev.nix ./fonts.nix ];
|
||||
|
||||
home = {
|
||||
username = "leana";
|
||||
homeDirectory = "/Users/leana";
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# shell and script dependencies
|
||||
fish
|
||||
figlet
|
||||
gnused
|
||||
starship
|
||||
stow
|
||||
ripgrep
|
||||
fd
|
||||
fzf
|
||||
vivid
|
||||
|
||||
# utils
|
||||
btop
|
||||
tree
|
||||
rsync
|
||||
tldr
|
||||
unstable.typst
|
||||
|
||||
# music
|
||||
cmus
|
||||
cmusfm
|
||||
];
|
||||
|
||||
}
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
{ pkgs, unstable, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
# Editors and utils
|
||||
tmux
|
||||
neovim
|
||||
vim
|
||||
hyperfine
|
||||
watchexec
|
||||
tea
|
||||
tokei
|
||||
|
||||
# Generic LSPs
|
||||
vscode-langservers-extracted # HTML/CSS/JSON/ESLint
|
||||
nodePackages.bash-language-server # Bash
|
||||
marksman # Markdown
|
||||
nodePackages.pyright # Python
|
||||
taplo # TOML
|
||||
texlab # LaTeX
|
||||
typescript # TypeScript
|
||||
nodePackages.vim-language-server # Vim Script
|
||||
typst-lsp # Typst
|
||||
lua-language-server # Lua
|
||||
|
||||
# git
|
||||
git
|
||||
git-lfs
|
||||
bat
|
||||
delta
|
||||
gnupg
|
||||
|
||||
nil
|
||||
alejandra
|
||||
nixfmt
|
||||
|
||||
(python39.withPackages (ps:
|
||||
with ps; [
|
||||
beautifulsoup4
|
||||
requests
|
||||
|
||||
python-lsp-server
|
||||
rope
|
||||
pyflakes
|
||||
mccabe
|
||||
pycodestyle
|
||||
pydocstyle
|
||||
autopep8
|
||||
]))
|
||||
|
||||
jdk17
|
||||
rustup
|
||||
nodejs_20
|
||||
unstable.opam
|
||||
];
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{ pkgs, wired, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
# fonts
|
||||
(nerdfonts.override { fonts = [ "CascadiaCode" "JetBrainsMono" "Meslo" ]; })
|
||||
lmodern
|
||||
cascadia-code
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue