Rename pkgs dir to home dir, add x86 and aarch specific linux home

modules
This commit is contained in:
Martin Larsson 2025-05-11 15:17:18 +02:00
parent 8ad94f53e3
commit d32ba1b498
11 changed files with 26 additions and 72 deletions

View file

@ -1,62 +0,0 @@
{ 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
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
nodejs
bitwarden-cli
];
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;
};
};
}

View file

@ -120,6 +120,7 @@ in
bc
cmatrix
svelte-language-server
bitwarden-cli
];
file = symlinkFiles;

13
nix/home/linux_aarch.nix Normal file
View file

@ -0,0 +1,13 @@
{
pkgs,
...
}:
{
home = {
packages = with pkgs; [
legcord
librespot
spotify-qt
];
};
}

12
nix/home/linux_x86.nix Normal file
View file

@ -0,0 +1,12 @@
{
pkgs,
...
}:
{
home = {
packages = with pkgs; [
discord
spotify
];
};
}

View file

@ -1,10 +0,0 @@
{
...
}:
{
system = {
stateVersion = 5;
};
nix-homebrew.user = "martin.larsson";
}