nix-config/metis.nix
2020-03-01 19:14:58 +01:00

105 lines
2 KiB
Nix

{ config, pkgs, lib, ... }:
let
userEnv = {
EDITOR = "vim";
PAGER = "less";
MAILDIR = "\$HOME/.var/mail";
MBLAZE = "\$HOME/.config/mblaze";
NOTMUCH_CONFIG = "\$HOME/.config/notmuch/config";
};
in
{
imports = [
./common.nix
./private/metis
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.sessionVariables = userEnv;
systemd.user.sessionVariables = userEnv;
home.packages = with pkgs; [
firefox-bin
chromium
android-studio
bc
brightnessctl
file
fzf
gimp
gnupg
inkscape
inotify-tools
jmtpfs
keepassxc
ldns
libreoffice
mblaze
mpv
nmap
pandoc
pass
pavucontrol
pinentry
playerctl
i3blocks
python3
python38Packages.dateutil
spotify
sshfs-fuse
tdesktop
#texlive.combined.scheme-full
thunderbird-bin
tor-browser-bundle-bin
virtmanager
whois
youtube-dl
zathura
unzip
anki
bluez-tools
texlive-tubs
];
services.syncthing = {
enable = true;
tray = false;
};
services.screen-locker = {
enable = true;
inactiveInterval = 5;
lockCmd = "\${pkgs.swaylock}/bin/swaylock";
};
xdg = {
enable = true;
mimeApps = {
enable = true;
#associations.added = {
#};
#defaultApplications = {
#};
};
userDirs = {
download ="\$HOME/tmp";
music = "\$HOME/lib/music";
videos ="\$HOME/lib/videos";
pictures = "\$HOME/lib/pictures";
documents = "\$HOME/lib";
desktop = "$HOME/tmp";
};
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "19.09";
}