2023-09-14 18:09:31 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-09-15 00:25:40 +02:00
|
|
|
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
|
|
|
|
|
2023-09-14 18:09:31 +02:00
|
|
|
users.users.tristand = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "Tristan Druyen";
|
|
|
|
extraGroups = ["networkmanager" "wheel" "libvirtd"];
|
|
|
|
shell = pkgs.fish;
|
2023-09-14 18:47:42 +02:00
|
|
|
home = "/home/tristand";
|
2023-09-14 18:09:31 +02:00
|
|
|
};
|
|
|
|
|
2023-09-12 21:44:15 +02:00
|
|
|
home-manager.users.tristand = {pkgs, ...}: {
|
2023-09-12 18:49:36 +02:00
|
|
|
nix = {
|
2023-09-12 21:44:15 +02:00
|
|
|
settings.experimental-features = ["nix-command" "flakes"];
|
2023-09-12 18:49:36 +02:00
|
|
|
};
|
|
|
|
|
2023-09-12 23:32:42 +02:00
|
|
|
dconf.settings = {
|
|
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
|
|
autoconnect = ["qemu:///system"];
|
|
|
|
uris = ["qemu:///system"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-13 00:21:45 +02:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2023-09-13 01:05:03 +02:00
|
|
|
window.opacity = 0.88;
|
2023-09-13 00:21:45 +02:00
|
|
|
window.dimensions = {
|
|
|
|
lines = 40;
|
|
|
|
columns = 150;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-14 18:47:42 +02:00
|
|
|
services.emacs = {
|
|
|
|
enable = true;
|
|
|
|
defaultEditor = true;
|
2023-09-15 00:25:40 +02:00
|
|
|
package = pkgs.emacs-unstable-pgtk;
|
2023-09-12 18:49:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.fish.enable = true;
|
|
|
|
|
2023-09-12 20:54:51 +02:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
2023-09-12 21:44:15 +02:00
|
|
|
userName = "Tristan Druyen";
|
2023-09-12 20:54:51 +02:00
|
|
|
userEmail = "tristan@vault81.de";
|
|
|
|
aliases = {
|
|
|
|
ci = "commit";
|
|
|
|
co = "checkout";
|
|
|
|
s = "status";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-12 18:49:36 +02:00
|
|
|
home.packages = with pkgs; [
|
2023-09-13 20:54:39 +02:00
|
|
|
alejandra
|
2023-09-12 18:49:36 +02:00
|
|
|
atool
|
|
|
|
alacritty
|
2023-09-14 18:47:42 +02:00
|
|
|
aspell
|
|
|
|
aspellDicts.en
|
|
|
|
aspellDicts.en-computers
|
|
|
|
aspellDicts.en-science
|
|
|
|
aspellDicts.de
|
2023-09-12 18:49:36 +02:00
|
|
|
bitwarden
|
2023-09-14 17:21:46 +02:00
|
|
|
binutils
|
2023-09-12 18:49:36 +02:00
|
|
|
brave
|
2023-09-13 00:21:45 +02:00
|
|
|
btop
|
2023-09-13 22:20:54 +02:00
|
|
|
direnv
|
2023-09-15 00:25:40 +02:00
|
|
|
emacs-unstable-pgtk
|
2023-09-15 01:26:51 +02:00
|
|
|
firefox
|
2023-09-12 18:49:36 +02:00
|
|
|
jellyfin-media-player
|
|
|
|
neofetch
|
2023-09-15 01:26:51 +02:00
|
|
|
nodejs_20
|
2023-09-12 18:49:36 +02:00
|
|
|
kate
|
2023-09-15 00:25:40 +02:00
|
|
|
rcm
|
2023-09-15 01:26:51 +02:00
|
|
|
rustup
|
2023-09-12 18:49:36 +02:00
|
|
|
rust-motd
|
2023-09-14 17:21:46 +02:00
|
|
|
(ripgrep.override {withPCRE2 = true;})
|
2023-09-15 00:25:40 +02:00
|
|
|
gnutls
|
|
|
|
fd
|
|
|
|
imagemagick
|
|
|
|
pinentry_emacs
|
2023-09-15 01:26:51 +02:00
|
|
|
python311Full
|
2023-09-15 00:25:40 +02:00
|
|
|
zstd
|
2023-09-15 01:26:51 +02:00
|
|
|
rnix-lsp
|
2023-09-15 00:25:40 +02:00
|
|
|
texlive.combined.scheme-medium
|
2023-09-12 18:49:36 +02:00
|
|
|
signal-desktop
|
|
|
|
statix
|
|
|
|
tailscale
|
2023-09-14 18:09:31 +02:00
|
|
|
tokei
|
2023-09-12 18:49:36 +02:00
|
|
|
thunderbird
|
2023-09-14 18:47:42 +02:00
|
|
|
zellij
|
2023-09-12 18:49:36 +02:00
|
|
|
];
|
2023-09-12 23:32:42 +02:00
|
|
|
|
2023-09-14 18:47:42 +02:00
|
|
|
home.sessionVariables = {
|
|
|
|
BROWSER = "firefox";
|
|
|
|
TERMINAL = "alacritty";
|
|
|
|
};
|
|
|
|
|
2023-09-12 18:49:36 +02:00
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
}
|