swap back to osConfig
This commit is contained in:
parent
c5db0903fa
commit
ef67274d8b
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{ osConfig, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = if pkgs.stdenv.isLinux
|
||||
imports = if osConfig.nixpkgs.hostPlatform.isLinux
|
||||
then [ ./linux ]
|
||||
else [ ./mac ];
|
||||
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
home = {
|
||||
username = "nyxerinys";
|
||||
homeDirectory = (
|
||||
if pkgs.stdenv.isLinux then
|
||||
if osConfig.nixpkgs.hostPlatform.isLinux then
|
||||
"/home/nyxerinys"
|
||||
else
|
||||
"/Users/nyxerinys"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue