summaryrefslogtreecommitdiff
path: root/home/config/environment.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-21 22:34:46 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:48:23 +0100
commitb0214d50e9a728d77d98d791e92dfe3747f27e23 (patch)
tree95810c2d5c7af41d0e3e85570e60c2fb6658291c /home/config/environment.nix
parente761ac4b2c69f8ac267e53fa437c6978b207d743 (diff)
factor out common home-manager configuration
Diffstat (limited to 'home/config/environment.nix')
-rw-r--r--home/config/environment.nix67
1 files changed, 0 insertions, 67 deletions
diff --git a/home/config/environment.nix b/home/config/environment.nix
deleted file mode 100644
index 77d00e5..0000000
--- a/home/config/environment.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-{ 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 = import ./scripts/nixos-update-config nix-code-path;
- rm = "rm -f";
- ssh = "TERM=xterm-256color ssh";
- mkenv = ''
- cp ${venv-manager-path}/shell-template.nix ./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";
- };
- };
-
- 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;
-}