diff options
author | Profpatsch <mail@profpatsch.de> | 2021-02-13 00:27:32 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-02-13 12:19:51 +0100 |
commit | 208066adaea15a4e5351a54c9cca1a9cf8fa0045 (patch) | |
tree | 33c876dabbf46924abf3a00935a36c7a13bccdee | |
parent | 41ae683e0fd9d34cf2f8420f286133734c7ea4e5 (diff) |
fix(machines/legosi): set nix path to latest nixpkgs unstable
Previously I had actually rebuilt the system locally, but since I use the deploy script, I don’t need to have a full up-to-date nixpkgs checkout, and only copy over the system closure. Thus, set the path to only contain nixpkgs, and only a link to the latest github unstable tarball in case I really need it e.g. for a nix shell.
-rw-r--r-- | machines/profpatsch/legosi.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index d4009c20..a0dd56f4 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -18,12 +18,8 @@ in { vuizvui.modifyNixPath = false; nix = { nixPath = [ - "vuizvui=/root/vuizvui" - "nixpkgs=/root/nixpkgs" - # todo: nicer? - "nixos-config=${pkgs.writeText "legosi-configuration.nix" '' - (import <vuizvui/machines>).profpatsch.legosi.config - ''}" + # cop out, if you really need a tool locally on the server, just use latest unstable + "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" ]; extraOptions = '' |