From a1f7f43c95c049628e826856ec589b339cd4f5db Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 6 Aug 2021 18:51:59 +0200 Subject: initial commit --- home/config/environment.nix | 66 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 home/config/environment.nix (limited to 'home/config/environment.nix') 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; + }; +} -- cgit v1.2.3