summaryrefslogtreecommitdiff
path: root/home/config/environment.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/config/environment.nix')
-rw-r--r--home/config/environment.nix66
1 files changed, 66 insertions, 0 deletions
diff --git a/home/config/environment.nix b/home/config/environment.nix
new file mode 100644
index 0000000..f3181a9
--- /dev/null
+++ b/home/config/environment.nix
@@ -0,0 +1,66 @@
+{ config, pkgs, ... }:
+
+{
+ home.packages = with pkgs;
+ [
+ # Various
+ evince
+ gimp
+ gnupg
+ imagemagick
+ ghostscript
+ keepassxc
+ moreutils
+ pavucontrol
+ transmission-gtk
+ vlc
+ zotero
+ ] ++ [
+ # Social
+ signal-desktop
+ thunderbird
+ ] ++ [
+ # Fonts
+ material-design-icons
+ roboto
+ ] ++ [
+ # Programming languages
+ python3Minimal
+ ] ++ (with texlive;
+ [
+ # Tex
+ # Uncomment when full disk available
+ # combined.scheme-full
+ ]);
+
+ home.wallpaper = ./dotfiles/background-image;
+
+ programs.bash = {
+ enable = true;
+ shellAliases = {
+ amimullvad = "curl -Ls https://am.i.mullvad.net/connected";
+ nixos-update-config =
+ "sudo cp -rf ~/documents/nix/latitude-7490/nixos/ /etc/";
+ rm = "rm -f";
+ ssh = "sTERM=xterm-256color ssh";
+ mkenv = ''
+ cp ~/documents/nix/shells/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;
+ };
+}