Merge branch 'main' of github.com:LarssonMartin1998/.dotfiles
This commit is contained in:
commit
0ff714cd02
25 changed files with 549 additions and 237 deletions
|
|
@ -1,13 +0,0 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
gawk
|
||||
discord
|
||||
];
|
||||
file = {
|
||||
".config/aerospace/aerospace.toml".source =
|
||||
config.lib.file.mkOutOfStoreSymlink ../../aerospace/aerospace.toml;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
clang
|
||||
clang-tools
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
(python311.withPackages (pythonPkgs: [
|
||||
pythonPkgs.pip
|
||||
pythonPkgs.setuptools
|
||||
]))
|
||||
pcre
|
||||
ccache
|
||||
mkdocs
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,130 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
neovim-flake,
|
||||
...
|
||||
}:
|
||||
let
|
||||
dotfiles = [
|
||||
[
|
||||
".zshrc"
|
||||
"zsh/.zshrc"
|
||||
]
|
||||
[
|
||||
".config/nvim"
|
||||
"nvim"
|
||||
]
|
||||
[
|
||||
".config/yazi"
|
||||
"yazi"
|
||||
]
|
||||
[
|
||||
".config/starship.toml"
|
||||
"starship/starship.toml"
|
||||
]
|
||||
[
|
||||
".tmux.conf"
|
||||
"tmux/.tmux.conf"
|
||||
]
|
||||
[
|
||||
".config/tmux"
|
||||
"tmux"
|
||||
]
|
||||
[
|
||||
".config/bat"
|
||||
"bat"
|
||||
]
|
||||
[
|
||||
".config/ghostty"
|
||||
"ghostty"
|
||||
]
|
||||
[
|
||||
".config/confutils"
|
||||
"confutils"
|
||||
]
|
||||
[
|
||||
".config/wallpapers"
|
||||
"wallpapers"
|
||||
]
|
||||
];
|
||||
|
||||
codelldb = pkgs.runCommand "codelldb" { } ''
|
||||
mkdir -p $out/bin
|
||||
cp ${pkgs.vscode-extensions.vadimcn.vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb $out/bin/codelldb
|
||||
chmod +x $out/bin/codelldb
|
||||
'';
|
||||
|
||||
symlinkFiles = builtins.listToAttrs (
|
||||
map (file: {
|
||||
name = builtins.elemAt file 0;
|
||||
value = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/git/.dotfiles/${builtins.elemAt file 1}";
|
||||
};
|
||||
|
||||
}) dotfiles
|
||||
);
|
||||
in
|
||||
{
|
||||
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
|
||||
dart
|
||||
go
|
||||
rustup
|
||||
zig
|
||||
zls
|
||||
nil
|
||||
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
|
||||
lldb
|
||||
nodejs
|
||||
tree-sitter
|
||||
codelldb
|
||||
bottom
|
||||
bc
|
||||
cmatrix
|
||||
svelte-language-server
|
||||
];
|
||||
|
||||
file = symlinkFiles;
|
||||
activation.batCache = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
run ${pkgs.bat}/bin/bat cache --build
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -20,13 +20,6 @@ let
|
|||
sha256 = "sha256-mpTrvgYiMfamMebtytY0bLouSbaP3qEqP8pgCFl+xPQ=";
|
||||
};
|
||||
|
||||
discord_wrapped = pkgs.writeShellScriptBin "discord" ''
|
||||
#!${pkgs.runtimeShell}
|
||||
# Execute the original Discord binary, redirecting stdout and stderr to /dev/null
|
||||
# "$@" passes along any arguments (like URLs for opening links in Discord)
|
||||
exec "${pkgs.discord}/bin/discord" "$@" >/dev/null 2>&1
|
||||
'';
|
||||
|
||||
bananaCursorBlue = pkgs.stdenv.mkDerivation {
|
||||
pname = "banana-cursor-blue";
|
||||
version = "2.0.0";
|
||||
|
|
@ -164,10 +157,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
mako.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
wslu
|
||||
clang
|
||||
clang-tools
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue