Rename pkgs dir to home dir, add x86 and aarch specific linux home
modules
This commit is contained in:
parent
8ad94f53e3
commit
d32ba1b498
11 changed files with 26 additions and 72 deletions
62
nix/home.nix
62
nix/home.nix
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -120,6 +120,7 @@ in
|
||||||
bc
|
bc
|
||||||
cmatrix
|
cmatrix
|
||||||
svelte-language-server
|
svelte-language-server
|
||||||
|
bitwarden-cli
|
||||||
];
|
];
|
||||||
|
|
||||||
file = symlinkFiles;
|
file = symlinkFiles;
|
||||||
13
nix/home/linux_aarch.nix
Normal file
13
nix/home/linux_aarch.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
legcord
|
||||||
|
librespot
|
||||||
|
spotify-qt
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
12
nix/home/linux_x86.nix
Normal file
12
nix/home/linux_x86.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
discord
|
||||||
|
spotify
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
system = {
|
|
||||||
stateVersion = 5;
|
|
||||||
};
|
|
||||||
|
|
||||||
nix-homebrew.user = "martin.larsson";
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue