From ef67274d8bb4180d7483917177be3a4257a1f2e7 Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Sat, 3 Oct 2026 22:26:46 -0500 Subject: [PATCH] swap back to osConfig --- modules/home/nyxerinys/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home/nyxerinys/default.nix b/modules/home/nyxerinys/default.nix index 14b8fa3..a7203e2 100644 --- a/modules/home/nyxerinys/default.nix +++ b/modules/home/nyxerinys/default.nix @@ -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"