Talk:Home Manager

From NixOS Wiki
Revision as of 14:52, 23 January 2019 by imported>Vater (→‎draft for an installation section: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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