97 lines
1.9 KiB
Nix
97 lines
1.9 KiB
Nix
{ inputs, config, lib, pkgs, ... }:
|
|
{
|
|
|
|
imports = [
|
|
./lf.nix
|
|
./fish.nix
|
|
./terminal-software.nix
|
|
];
|
|
|
|
# Home Manager needs a bit of information about you and the paths it should
|
|
# manage.
|
|
home.homeDirectory = "/home/${config.home.username}";
|
|
|
|
|
|
home.stateVersion = "23.05"; # Please read the comment before changing.
|
|
|
|
home.packages = with pkgs; [
|
|
signal-desktop
|
|
open-in-mpv
|
|
(python313.withPackages (pp: with pp; [
|
|
numpy
|
|
matplotlib
|
|
]))
|
|
# bluez
|
|
go-mtpfs
|
|
xdg-utils
|
|
davfs2
|
|
sshfs
|
|
ghc
|
|
yt-dlp
|
|
aria2
|
|
yazi
|
|
ncdu
|
|
ripgrep
|
|
android-tools
|
|
scrcpy
|
|
];
|
|
|
|
|
|
home.file = {
|
|
".docker/config.json".text = (builtins.toJSON { detachKeys= "ctrl-z,z"; });
|
|
};
|
|
|
|
home.sessionPath = [
|
|
"$HOME/.local/bin"
|
|
"$HOME/.bin"
|
|
];
|
|
|
|
home.sessionVariables = {
|
|
GOPATH = "${config.home.homeDirectory}/.local/share/go";
|
|
GOMODCACHE = "${config.home.homeDirectory}/.cache/go/pkg/mod";
|
|
CCACHE_MAXSIZE = "100Gi";
|
|
};
|
|
|
|
home.keyboard.options = [
|
|
"caps:escape"
|
|
];
|
|
|
|
xdg = {
|
|
enable = true;
|
|
systemDirs.data = [ "${config.home.homeDirectory}/.local/share" ];
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = false;
|
|
download = "${config.home.homeDirectory}/downloads";
|
|
templates = "${config.home.homeDirectory}/templates";
|
|
|
|
desktop = "${config.home.homeDirectory}";
|
|
documents = "${config.home.homeDirectory}";
|
|
music = "${config.home.homeDirectory}";
|
|
pictures = "${config.home.homeDirectory}";
|
|
publicShare = "${config.home.homeDirectory}";
|
|
videos = "${config.home.homeDirectory}";
|
|
};
|
|
|
|
mimeApps = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.nh = {
|
|
enable = true;
|
|
flake = "${config.home.homeDirectory}/nix-system";
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
aliases = {
|
|
co = "checkout";
|
|
};
|
|
extraConfig = {
|
|
pull.rebase = true;
|
|
};
|
|
};
|
|
}
|