summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-04-18 15:35:04 -0400
committerBen Sima <ben@bsima.me>2021-04-18 15:35:04 -0400
commit7ac41f07eeaf327ee15bfb984dc784db411ad532 (patch)
tree75a5a4bf369ee47463e54c65e4e18a5d90da18b6
parent835385b8507f8ceeb8fa62d34c05b079f984248c (diff)
add lithium server and fix NIX_PATH
-rwxr-xr-xinstall.sh3
-rw-r--r--server.nix9
2 files changed, 11 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index ebb84c5..a16d8a6 100755
--- a/install.sh
+++ b/install.sh
@@ -28,4 +28,5 @@ mkdir -p ~/.config/notmuch
# set channels
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
-nix-shell '<home-manager>' -A install
+NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH \
+ nix-shell '<home-manager>' -A install
diff --git a/server.nix b/server.nix
new file mode 100644
index 0000000..eba99db
--- /dev/null
+++ b/server.nix
@@ -0,0 +1,9 @@
+# lithium server
+{ pkgs, lib, ... }:
+
+{
+ imports = [
+ ./linux.nix
+ ];
+ programs.git.signing.signByDefault = true;
+}