From 9eeeca1faa89819534e60f98dacb66acb420b728 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 9 Aug 2023 20:10:28 -0400 Subject: [PATCH] feat: make home-manager install declarative --- nixos/home/main.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/home/main.nix b/nixos/home/main.nix index 4423946..adca8e5 100644 --- a/nixos/home/main.nix +++ b/nixos/home/main.nix @@ -1,11 +1,13 @@ { config, pkgs, ... }: - +let + home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; +in { ## Global config to add home-manager module ############################################################################# imports = [ - + (import "${home-manager}/nixos") ]; # Define a user account. Don't forget to set a password with 'passwd'.