nixos-config/home/rachel.nix

181 lines
3.5 KiB
Nix
Raw Normal View History

2023-10-06 01:12:55 +02:00
{ pkgs, ... }:
2023-07-31 14:18:02 +02:00
let username = "rachel";
homeDir = "/home/${username}";
SAX2 = pkgs.fetchurl {
name = "SAX2";
url = "https://abrudz.github.io/SAX2/SAX2.ttf";
sha256 = "sha256-DgvDWXO2fnKZNu9EvQOq8GNMTU3PUdp85+/0ZHdRXZc=";
recursiveHash = true;
downloadToTemp = true;
postFetch = ''
mkdir -p "$out/share/fonts/truetype"
mv "$downloadedFile" "$out/share/fonts/truetype/SAX2.ttf"
'';
};
in
{
home = {
username = username;
homeDirectory = homeDir;
packages = with pkgs; [
neofetch
pfetch
unzip
zip
xz
gzip
bzip2
p7zip
usbutils
pciutils
nettools
nmap
arp-scan
acpi
2023-09-12 21:28:31 +02:00
julia-bin
2023-07-31 14:18:02 +02:00
python3
ghc
firefox
sxiv
zathura
gnupg
agda
discord
dig
xxd
zoom-us
slack
imagemagick
ffmpeg
sl
cowsay
lolcat
fortune
banner
yt-dlp
libreoffice
protonmail-bridge
pass
protonvpn-cli
protonvpn-gui
thunderbird
tidal-hifi
signal-desktop
transmission-gtk
xclip
clinfo
glxinfo
vulkan-tools
obs-studio
file
gimp
SAX2
twemoji-color-font
bat
steam
steam-run
2023-08-13 10:57:39 +02:00
rmapi
2023-08-19 22:19:49 +02:00
lutris
2023-09-25 12:10:43 +02:00
texlive.combined.scheme-full
2023-07-31 14:18:02 +02:00
];
stateVersion = "23.05";
};
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = "${homeDir}";
documents = "${homeDir}/doc";
download = "${homeDir}/dwn";
music = "${homeDir}/music";
pictures = "${homeDir}/img";
publicShare = "${homeDir}/srv";
templates = "${homeDir}/doc/templates";
videos = "${homeDir}/vid";
};
programs = {
bash = {
enable = true;
enableCompletion = true;
historyFile = "/dev/null";
sessionVariables = {
PS1 ="\\033[1m\\u\\033[0m@\\033[1m\\h\\033[0m: \\w\nλ ";
BROWSER = "firefox";
XINITRC = "${homeDir}/bin/xinitrc";
XAUTHORITY = "${homeDir}/.local/share/Xauthority";
PASH_KEYID = "3E4A909C8FEF6E3783699C79DFC26EF8EDAD6D71";
QT_AUTO_SCREEN_FACTOR = 1;
EDITOR = "emacsclient";
PATH = "${homeDir}/bin:$PATH";
};
shellAliases = {
x = "startx";
rm = "rm -i";
cal = "cal -m";
};
initExtra = ''
source ~/.profile
set -o vi
'';
};
2023-08-25 14:40:08 +02:00
mpv = {
enable = true;
config = {
hwdec = "auto-safe";
vo = "gpu";
profile = "gpu-hq";
};
};
2023-09-01 15:21:19 +02:00
rofi = {
enable = true;
theme = "solarized";
};
2023-07-31 14:18:02 +02:00
emacs = {
enable = true;
package = pkgs.emacs-gtk;
extraPackages = epkgs: with epkgs; with melpaStablePackages; [
nix-mode
pdf-tools
dune
tuareg
idris-mode
multi-vterm
org-superstar
org-fragtog
visual-fill
writeroom-mode
solarized-theme
doom-modeline
all-the-icons-dired
page-break-lines
all-the-icons
dashboard
vterm
undo-fu
latex-math-preview
haskell-mode
evil-surround
evil-org
evil-commentary
2023-08-15 10:06:47 +02:00
evil
2023-07-31 14:18:02 +02:00
];
};
git = {
enable = true;
userName = "Rachel Lambda Samuelsson";
userEmail = "depsterr@protonmail.com";
extraConfig = {
init.defaultBranch = "master";
};
};
};
}