Setup nix flake to work with darwin, wsl and linux system configuration. This has ONLY been tested on Darwin so far.
This commit is contained in:
parent
5322764881
commit
f0f8aeb7b8
15 changed files with 468 additions and 144 deletions
10
nix/pkgs/darwin.nix
Normal file
10
nix/pkgs/darwin.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, homebrew, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
gawk
|
||||
];
|
||||
file = {
|
||||
};
|
||||
};
|
||||
}
|
||||
68
nix/pkgs/home.nix
Normal file
68
nix/pkgs/home.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
pkgs,
|
||||
neovim-flake,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
stateVersion = "24.05";
|
||||
packages = with pkgs; [
|
||||
neovim-flake.packages.${system}.neovim
|
||||
fzf
|
||||
bat
|
||||
git
|
||||
yazi
|
||||
tmux
|
||||
eza
|
||||
curl
|
||||
wget
|
||||
ripgrep
|
||||
fd
|
||||
jq
|
||||
starship
|
||||
fastfetch
|
||||
clang
|
||||
clang-tools
|
||||
nixfmt-rfc-style
|
||||
luajit
|
||||
zoxide
|
||||
rustup
|
||||
zig
|
||||
zls
|
||||
nil
|
||||
lldb
|
||||
gopls
|
||||
delve
|
||||
golangci-lint
|
||||
cmake
|
||||
cmake-language-server
|
||||
cmake-format
|
||||
cmake-lint
|
||||
python313Packages.debugpy
|
||||
pyright
|
||||
lua-language-server
|
||||
gnumake
|
||||
ninja
|
||||
tldr
|
||||
nerd-fonts.caskaydia-mono
|
||||
];
|
||||
file = {
|
||||
".zshrc".source = ../../zsh/.zshrc;
|
||||
".config/nvim".source = ../../nvim;
|
||||
".config/yazi".source = ../../yazi;
|
||||
".config/starship.toml".source = ../../starship/starship.toml;
|
||||
".tmux.conf".source = ../../tmux/.tmux.conf;
|
||||
".config/tmux".source = ../../tmux;
|
||||
".config/bat".source = ../../bat;
|
||||
".config/ghostty".source = ../../ghostty;
|
||||
".config/confutils".source = ../../confutils;
|
||||
".config/wallpapers".source = ../../wallpapers;
|
||||
};
|
||||
};
|
||||
}
|
||||
7
nix/pkgs/linux.nix
Normal file
7
nix/pkgs/linux.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
home = {
|
||||
file = {
|
||||
".config/sway".source = ../sway;
|
||||
};
|
||||
};
|
||||
}
|
||||
2
nix/pkgs/wsl.nix
Normal file
2
nix/pkgs/wsl.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{ ... }: {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue