summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+}