feat: make home-manager install declarative
This commit is contained in:
parent
c761802037
commit
9eeeca1faa
1 changed files with 4 additions and 2 deletions
|
@ -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'.
|
||||||
|
|
Loading…
Reference in a new issue