From 7e52cd1896390a1af2ae75c08eb5ce835a6071da Mon Sep 17 00:00:00 2001 From: James Walker Date: Wed, 2 Jun 2021 21:30:09 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20plato:=20grab=20dotfiles?= =?UTF-8?q?=20via=20fetchTarball?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/plato/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/plato/configuration.nix b/hosts/plato/configuration.nix index b6d315c..65802e4 100644 --- a/hosts/plato/configuration.nix +++ b/hosts/plato/configuration.nix @@ -1,6 +1,9 @@ { config, pkgs, ... }: -{ +let + dotfiles = builtins.fetchTarball + "https://github.com/walkah/dotfiles/archive/main.tar.gz"; +in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix @@ -41,7 +44,7 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM8YMax7PGIrcPNIHkpuNRFgn3HJK6Wepm+ycZWO6jfR walkah@walkah-ipadpro11" ]; }; - home-manager.users.walkah = import /home/walkah/.config/nixpkgs/home.nix; + home-manager.users.walkah = import "${dotfiles}/home.nix"; system.autoUpgrade.enable = true; environment.systemPackages = with pkgs; [ ];