summaryrefslogtreecommitdiff
path: root/nixhome/.config
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-04-11 15:51:15 +0200
committerJulian T <julian@jtle.dk>2021-04-11 15:51:15 +0200
commitfd3e694bd327b2ebd55c6bba40f009945726c91f (patch)
tree299ce8fe08e329ee867428e730450fb64dff7c8a /nixhome/.config
parent7263eaadd5262f6e1b222e2c862fe8cf2b2f24f7 (diff)
Move packages from system wide nix config to home-manager and overlay
Diffstat (limited to 'nixhome/.config')
-rw-r--r--nixhome/.config/nixpkgs/config.nix1
-rw-r--r--nixhome/.config/nixpkgs/home.nix39
-rw-r--r--nixhome/.config/nixpkgs/overlays/pythonEnv.nix15
3 files changed, 55 insertions, 0 deletions
diff --git a/nixhome/.config/nixpkgs/config.nix b/nixhome/.config/nixpkgs/config.nix
new file mode 100644
index 0000000..69baf10
--- /dev/null
+++ b/nixhome/.config/nixpkgs/config.nix
@@ -0,0 +1 @@
+{ allowUnfree = true; }
diff --git a/nixhome/.config/nixpkgs/home.nix b/nixhome/.config/nixpkgs/home.nix
new file mode 100644
index 0000000..9f0ecd9
--- /dev/null
+++ b/nixhome/.config/nixpkgs/home.nix
@@ -0,0 +1,39 @@
+{ config, pkgs, ... }:
+
+{
+ # Yep makes sense
+ programs.home-manager.enable = true;
+
+ home.packages = with pkgs; [
+ stow pass gopass fzf
+
+ # X stuff required by scripts
+ feh rofi xorg.xmodmap xss-lock xclip xorg.xkill
+ xdotool dunst xcompmgr scrot libnotify i3lock
+ xbindkeys
+
+ # Developing
+ rustup gcc go clang-tools
+ gdb php python-language-server
+
+ # Gui applications
+ firefox pavucontrol evince leafpad inkscape gimp
+ meld pinentry gnome3.gnome-system-monitor
+ termite quasselClient wireshark spotify
+ gnome3.file-roller gnome3.gnome-calculator
+ gnome3.simple-scan vlc mpv xorg.xev
+ gnome3.evolution evolution-data-server vimHugeX
+ (mumble.override { pulseSupport = true; })
+ libreoffice-fresh liferea qutebrowser mate.caja
+ audacity gnome3.eog veracrypt xournal
+
+ # Other stuff
+ texlive.combined.scheme-medium biber
+ youtube-dl sshpass python38Packages.pynvim
+ aspell aspellDicts.da aspellDicts.en
+ ffmpegthumbnailer tio imagemagick sox poppler_utils
+
+ # The python env created in overlay
+ defaultPythonEnv
+ ];
+}
diff --git a/nixhome/.config/nixpkgs/overlays/pythonEnv.nix b/nixhome/.config/nixpkgs/overlays/pythonEnv.nix
new file mode 100644
index 0000000..b60b455
--- /dev/null
+++ b/nixhome/.config/nixpkgs/overlays/pythonEnv.nix
@@ -0,0 +1,15 @@
+self: super: {
+ defaultPythonEnv = super.buildEnv {
+ name = "defaultPythonEnv";
+ paths = [
+ (self.python3.withPackages (
+ ps: with ps; [
+ ipython
+
+ # Math stuff
+ numpy scipy matplotlib
+ ]
+ ))
+ ];
+ };
+ }