swap back to osConfig

This commit is contained in:
nyxerinys 2026-10-03 22:26:46 -05:00
parent c5db0903fa
commit ef67274d8b

View file

@ -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"