From 2ab5593af6797fddd2c654f3c024e481cee2ce96 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 19 Feb 2019 23:29:17 +0100 Subject: [PATCH] pulsebert: add home-manager home.nix --- hosts/pulsebert/home.nix | 15 +++++++++++++++ install-host.sh | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 hosts/pulsebert/home.nix diff --git a/hosts/pulsebert/home.nix b/hosts/pulsebert/home.nix new file mode 100644 index 00000000..f55cd737 --- /dev/null +++ b/hosts/pulsebert/home.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + htop + fortune + ddate + mpv + ncmpcpp + schedtool + screen + tmux + pulsemixer + ]; +} diff --git a/install-host.sh b/install-host.sh index 9b847799..0583575a 100755 --- a/install-host.sh +++ b/install-host.sh @@ -19,3 +19,7 @@ done sudo ln -s $HOME/$REPO/hosts/`hostname -s`/configuration.nix /etc/nixos/configuration.nix ls -l /etc/nixos/configuration.nix +if [ -f $REPO/hosts/`hostname -s`/home.nix ]; then + mkdir -p ~/.config/nixpkgs + ln -s $HOME/$REPO/hosts/`hostname -s`/home.nix ~/.config/nixpkgs/home.nix +fi