From 7ac41f07eeaf327ee15bfb984dc784db411ad532 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 18 Apr 2021 15:35:04 -0400 Subject: add lithium server and fix NIX_PATH --- install.sh | 3 ++- server.nix | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 server.nix 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 '' -A install +NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH \ + nix-shell '' -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; +} -- cgit v1.2.3