diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-08-06 18:51:59 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-08-06 18:51:59 +0200 |
| commit | a1f7f43c95c049628e826856ec589b339cd4f5db (patch) | |
| tree | a0f5bb10fc36f02ad6dbaebf1232ca2548f9ccfa /home/config/environment.nix | |
initial commit
Diffstat (limited to 'home/config/environment.nix')
| -rw-r--r-- | home/config/environment.nix | 66 |
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; + }; +} |
