Browse Source

pulsebert: add home-manager home.nix

Astro 4 months ago
parent
commit
2ab5593af6
2 changed files with 19 additions and 0 deletions
  1. 15
    0
      hosts/pulsebert/home.nix
  2. 4
    0
      install-host.sh

+ 15
- 0
hosts/pulsebert/home.nix View File

@@ -0,0 +1,15 @@
1
+{ pkgs, ... }:
2
+
3
+{
4
+  home.packages = with pkgs; [
5
+    htop
6
+    fortune
7
+    ddate
8
+    mpv
9
+    ncmpcpp
10
+    schedtool
11
+    screen
12
+    tmux
13
+    pulsemixer
14
+  ];
15
+}

+ 4
- 0
install-host.sh View File

@@ -19,3 +19,7 @@ done
19 19
 sudo ln -s $HOME/$REPO/hosts/`hostname -s`/configuration.nix /etc/nixos/configuration.nix
20 20
 ls -l /etc/nixos/configuration.nix
21 21
 
22
+if [ -f $REPO/hosts/`hostname -s`/home.nix ]; then
23
+	mkdir -p ~/.config/nixpkgs
24
+	ln -s $HOME/$REPO/hosts/`hostname -s`/home.nix ~/.config/nixpkgs/home.nix
25
+fi