mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-04 19:51:05 +01:00
78 lines
1.3 KiB
Nix
78 lines
1.3 KiB
Nix
{ config
|
|
, pkgs
|
|
, lib
|
|
, ...
|
|
}:
|
|
|
|
let
|
|
rustVersion = (pkgs.rustChannelOf { channel = "stable"; }).rust;
|
|
rsPlatform = pkgs.makeRustPlatform {
|
|
cargo = rustVersion;
|
|
rustc = rustVersion;
|
|
};
|
|
in
|
|
{
|
|
home.packages = with pkgs; [
|
|
bitwarden-cli
|
|
nodePackages.vscode-json-languageserver
|
|
exa
|
|
python3
|
|
topgrade
|
|
rsync
|
|
fd
|
|
niv
|
|
bintools
|
|
httpie
|
|
sqlx-cli
|
|
direnv
|
|
codespell
|
|
ripgrep
|
|
file
|
|
jq
|
|
wget
|
|
cargo-flamegraph
|
|
linuxPackages.perf
|
|
unzip
|
|
tokei
|
|
];
|
|
|
|
services = {
|
|
syncthing = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
home-manager = {
|
|
enable = true;
|
|
};
|
|
|
|
starship = {
|
|
enable = true;
|
|
};
|
|
|
|
bat = {
|
|
enable = true;
|
|
};
|
|
|
|
zoxide = {
|
|
enable = true;
|
|
};
|
|
};
|
|
home.file = {
|
|
"bin" = {
|
|
source = ./scripts;
|
|
recursive = true;
|
|
};
|
|
};
|
|
|
|
# This value determines the Home Manager release that your
|
|
# configuration is compatible with. This helps avoid breakage
|
|
# when a new Home Manager release introduces backwards
|
|
# incompatible changes.
|
|
#
|
|
# You can update Home Manager without changing this value. See
|
|
# the Home Manager release notes for a list of state version
|
|
# changes in each release.
|
|
home.stateVersion = "21.11";
|
|
}
|