feat: make home-manager install declarative

This commit is contained in:
matt1432 2023-08-09 20:10:28 -04:00
parent c761802037
commit 9eeeca1faa

View file

@ -1,11 +1,13 @@
{ config, pkgs, ... }: { 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 ## Global config to add home-manager module
############################################################################# #############################################################################
imports = imports =
[ [
<home-manager/nixos> (import "${home-manager}/nixos")
]; ];
# Define a user account. Don't forget to set a password with 'passwd'. # Define a user account. Don't forget to set a password with 'passwd'.