⚙️ plato: grab dotfiles via fetchTarball

This commit is contained in:
James Walker 2021-06-02 21:30:09 -04:00
parent b0a456b824
commit 7e52cd1896
Signed by: walkah
GPG Key ID: 3C127179D6086E93

View File

@ -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
<home-manager/nixos>
@ -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; [ ];