This repository has been archived on 2023-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
gpd-configurations/home/user/home.nix
2023-06-21 16:11:21 +08:00

43 lines
871 B
Nix

{pkgs, ...}: {
stateVersion = "23.05"; # Static
username = "GPD User";
homeDirectory = "/home/user";
packages = with pkgs; [
btop
bat
thefuck
ranger
icdiff
podman
jdk17
rofi
rofi-rbw
];
sessionPath = {
".local/bin"
"Applications"
}
shellAliases = {
cao = "fuck";
top = "btop";
ls = "ls --color=auto";
cat = "bat -p --paging=never -u";
diff="icdiff";
};
file = {
# TODO: hyprland
# Use flatseal to change permissions.
".local/share/fonts".source = /run/current-system/sw/share/X11/fonts
# Fix flatpak fonts
".local/share/flatpak/overrides/global".text = ''
[Context]
filesystems=~/.local/share/fonts:ro;~/.icons;
'';
};
}