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 ]
|
then [ ./linux ]
|
||||||
else [ ./mac ];
|
else [ ./mac ];
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
home = {
|
home = {
|
||||||
username = "nyxerinys";
|
username = "nyxerinys";
|
||||||
homeDirectory = (
|
homeDirectory = (
|
||||||
if pkgs.stdenv.isLinux then
|
if osConfig.nixpkgs.hostPlatform.isLinux then
|
||||||
"/home/nyxerinys"
|
"/home/nyxerinys"
|
||||||
else
|
else
|
||||||
"/Users/nyxerinys"
|
"/Users/nyxerinys"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue