Jump to content

Talk:Home Manager: Difference between revisions

From NixOS Wiki
imported>Vater
(No difference)

Revision as of 14:52, 23 January 2019

draft for an installation section

Installation

Installation via … on a NixOS system

sudo $EDITOR /etc/nixos/configuration.nix
  environment.systemPackages = with pkgs; [
    home-manager
  ];
sudo nixos-rebuild switch

man home-configuration.nix

mkdir ~/.config/nixpkgs/
touch ~/.config/nixpkgs/home.nix

$EDITOR ~/.config/nixpkgs/home.nix
home-manager switch

Installation via nix-env on a NixOS system