blob: ad617b16e41de965b2f26572992c7534f8d1b923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
{ config, pkgs, ... }:
{
home.packages = with pkgs;
[
# Various
evince
gimp
gnupg
keepassxc
coreutils
moreutils
pavucontrol
transmission-gtk
vlc
zotero
] ++ [
# Social
signal-desktop
thunderbird
] ++ [
# Fonts
material-design-icons
roboto
source-code-pro
] ++ [
# Programming languages
python3Full
];
home.wallpaper = ./dotfiles/background-image;
programs.bash = {
enable = true;
shellAliases = let
nix-code-path = "~/code/nix";
venv-manager-path = "~/.config/venv-manager";
in {
amimullvad = "curl -Ls https://am.i.mullvad.net/connected";
nixos-update-config =
"sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/";
rm = "rm -f";
ssh = "TERM=xterm-256color ssh";
mkenv = ''
cp ${venv-manager-path}/template-shell.nix . ;
echo "use_nix" >> .envrc ;
direnv allow ;
$EDITOR shell.nix ;
'';
fftmp = "firefox --profile $(mktemp -d)";
edit = "$EDITOR";
};
sessionVariables = {
CDPATH = "~";
EDITOR = "emacsclient -c";
BROWSER = "firefox";
};
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
};
home.file.".config/latexmkrc".source = ./dotfiles/latexmkrc;
home.file.".config/venv-manager/config/default.nix".source =
./dotfiles/venv-manager.nix;
}
|