2024-12-12 23:35:10 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
2025-01-30 12:47:19 -05:00
|
|
|
lib,
|
2024-12-12 23:35:10 -05:00
|
|
|
...
|
2024-12-19 02:32:58 -05:00
|
|
|
}:
|
|
|
|
{
|
2024-12-13 23:27:33 -05:00
|
|
|
imports = [
|
2024-12-13 23:53:01 -05:00
|
|
|
./common.nix
|
2025-01-21 12:07:49 -05:00
|
|
|
../irssi.nix
|
2025-01-21 16:24:33 -05:00
|
|
|
../kitty.nix
|
2025-02-09 22:26:24 -05:00
|
|
|
../codium.nix
|
2024-12-13 23:27:33 -05:00
|
|
|
];
|
2024-12-12 23:35:10 -05:00
|
|
|
home = {
|
|
|
|
username = "yt";
|
|
|
|
homeDirectory = "/home/yt";
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
2025-01-21 13:35:44 -05:00
|
|
|
home.pointerCursor = {
|
|
|
|
package = pkgs.bibata-cursors;
|
2025-01-26 17:43:18 -05:00
|
|
|
name = "Bibata-Modern-Classic";
|
|
|
|
size = 23;
|
2025-01-21 13:35:44 -05:00
|
|
|
gtk.enable = true;
|
|
|
|
x11.enable = true;
|
|
|
|
};
|
|
|
|
|
2025-03-03 15:26:01 -05:00
|
|
|
home.packages =
|
|
|
|
with pkgs;
|
|
|
|
lib.flatten [
|
|
|
|
ungoogled-chromium
|
|
|
|
librewolf
|
|
|
|
bitwarden-desktop
|
|
|
|
fastfetch
|
|
|
|
(with kdePackages; [
|
|
|
|
gwenview
|
|
|
|
okular
|
|
|
|
])
|
|
|
|
mpv
|
|
|
|
signal-desktop
|
|
|
|
btop
|
|
|
|
jq
|
|
|
|
sqlite
|
|
|
|
usbutils
|
|
|
|
calibre
|
|
|
|
tor-browser
|
|
|
|
wtype
|
|
|
|
bat
|
|
|
|
rclone
|
|
|
|
go
|
|
|
|
(rust-bin.selectLatestNightlyWith (
|
|
|
|
toolchain:
|
|
|
|
toolchain.default.override {
|
|
|
|
extensions = [ "rust-src" ];
|
|
|
|
}
|
|
|
|
))
|
|
|
|
pwgen
|
|
|
|
gnumake
|
|
|
|
unzip
|
|
|
|
anki-bin
|
|
|
|
trezorctl
|
|
|
|
trezor-agent
|
|
|
|
q
|
|
|
|
gdb
|
|
|
|
fuzzel
|
|
|
|
hugo
|
|
|
|
ghidra
|
|
|
|
sccache
|
|
|
|
awscli2
|
|
|
|
(cutter.withPlugins (
|
|
|
|
p: with p; [
|
|
|
|
rz-ghidra
|
|
|
|
jsdec
|
|
|
|
sigdb
|
|
|
|
]
|
|
|
|
))
|
|
|
|
p7zip
|
|
|
|
qbittorrent
|
|
|
|
nil
|
|
|
|
android-tools
|
|
|
|
frida-tools
|
|
|
|
mitmproxy
|
|
|
|
(python313.withPackages (
|
|
|
|
p: with p; [
|
|
|
|
python-lsp-server
|
|
|
|
pip
|
|
|
|
virtualenv
|
|
|
|
]
|
|
|
|
))
|
|
|
|
jadx
|
|
|
|
scrcpy
|
|
|
|
syncthing
|
|
|
|
syncthingtray
|
|
|
|
(with llvmPackages; [
|
2025-03-03 16:16:47 -05:00
|
|
|
clangUseLLVM
|
|
|
|
libcxxClang
|
|
|
|
stdenv
|
|
|
|
libcxx
|
|
|
|
libcxxStdenv
|
|
|
|
compiler-rt
|
2025-03-03 15:26:01 -05:00
|
|
|
])
|
2025-03-03 16:16:47 -05:00
|
|
|
nix-output-monitor
|
2025-03-03 15:26:01 -05:00
|
|
|
];
|
2024-12-13 09:44:41 -05:00
|
|
|
|
|
|
|
programs.feh.enable = true;
|
2024-12-14 00:00:35 -05:00
|
|
|
|
2024-12-15 02:14:00 -05:00
|
|
|
xdg.configFile = {
|
2025-01-01 04:08:04 -05:00
|
|
|
mpv.source = ../mpv;
|
2024-12-15 02:14:00 -05:00
|
|
|
};
|
2024-12-25 02:32:01 -05:00
|
|
|
|
2025-01-16 11:01:55 -05:00
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
2025-01-25 23:48:18 -05:00
|
|
|
|
|
|
|
programs.git.extraConfig = {
|
|
|
|
user = {
|
2025-03-03 15:26:01 -05:00
|
|
|
signingKey = "~/.ssh/id_ed25519";
|
2025-01-25 23:48:18 -05:00
|
|
|
};
|
|
|
|
gpg.format = "ssh";
|
2025-01-26 16:55:42 -05:00
|
|
|
commit.gpgsign = true;
|
2025-01-25 23:48:18 -05:00
|
|
|
};
|
2025-01-28 22:38:40 -05:00
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
# to make ghidra work on xwayland
|
|
|
|
_JAVA_AWT_WM_NONREPARENTING = 1;
|
2025-01-30 12:47:19 -05:00
|
|
|
|
|
|
|
# sccache stuff
|
|
|
|
RUSTC_WRAPPER = "${lib.getExe pkgs.sccache}";
|
|
|
|
SCCACHE_BUCKET = "sccache";
|
2025-02-25 12:39:43 -05:00
|
|
|
SCCACHE_REGION = "us-east-1";
|
2025-02-26 22:25:55 -05:00
|
|
|
SCCACHE_ENDPOINT = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
|
2025-01-30 12:47:19 -05:00
|
|
|
SCCACHE_ALLOW_CORE_DUMPS = "true";
|
|
|
|
SCCACHE_S3_USE_SSL = "true";
|
|
|
|
SCCACHE_CACHE_MULTIARCH = "true";
|
2025-02-25 12:39:43 -05:00
|
|
|
SCCACHE_LOG = "warn";
|
2025-02-18 00:02:18 -05:00
|
|
|
AWS_DEFAULT_REGION = "us-east-1";
|
2025-02-26 22:25:55 -05:00
|
|
|
AWS_ENDPOINT_URL = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
|
2025-01-30 12:47:19 -05:00
|
|
|
AWS_ACCESS_KEY_ID = "$(cat /run/secrets/aws/key_id)";
|
|
|
|
AWS_SECRET_ACCESS_KEY = "$(cat /run/secrets/aws/key_secret)";
|
2025-03-03 15:26:01 -05:00
|
|
|
|
|
|
|
# bitwarden ssh agent
|
|
|
|
SSH_AUTH_SOCK = "$HOME/.bitwarden-ssh-agent.sock";
|
2025-01-28 22:38:40 -05:00
|
|
|
};
|
2025-03-01 14:09:24 -05:00
|
|
|
|
|
|
|
programs.nix-index-database.comma.enable = true;
|
2024-12-12 23:35:10 -05:00
|
|
|
}
|