From 7a2058269a26218273369e8af2fd4b4710070473 Mon Sep 17 00:00:00 2001 From: dadada Date: Fri, 28 Feb 2020 17:29:43 +0100 Subject: [PATCH] Add work.nix --- work.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 work.nix diff --git a/work.nix b/work.nix new file mode 100644 index 0000000..96a2a57 --- /dev/null +++ b/work.nix @@ -0,0 +1,43 @@ +{ config, pkgs, lib, ... }: +let + userEnv = { + EDITOR = "vim"; + PAGER = "less"; + }; +in +{ + imports = [ + ./common.nix + #./private/work + ]; + + # Let Home Manager install and manage itself. + programs.home-manager.enable = true; + + home.sessionVariables = userEnv; + + home.packages = with pkgs; [ + firefox-bin + chromium + android-studio + file + fzf + gnupg + libreoffice + pinentry + python3 + spotify + sshfs-fuse + unzip + ]; + + # 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"; +}