Home Manager: Difference between revisions
imported>Symphorien make it clear that you need hm to manage your shell configuration. |
imported>Fufexan m Change NixOS module fetcher |
||
| Line 33: | Line 33: | ||
{ config, pkgs, ... }: | { config, pkgs, ... }: | ||
let | let | ||
home-manager = builtins. | home-manager = builtins.fetchtarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; | ||
in | in | ||
{ | { | ||
imports = [ | |||
(import "${home-manager}/nixos") | |||
]; | |||
home-manager.users.my_username = { | |||
/* Here goes your home-manager config, eg home.packages = [ pkgs.foo ]; */ | |||
} | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||