change home manager into a proper module
This commit is contained in:
parent
27921354a9
commit
0c9f91e92d
3 changed files with 32 additions and 11 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, osConfig, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "nyxerinys";
|
||||
home.homeDirectory = (
|
||||
if pkgs.stdenv.isDarwin then
|
||||
if osConfig.nyxs-nix.services.home.isMacOS then
|
||||
"/Users/nyxerinys"
|
||||
else
|
||||
"/home/nyxerinys"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue