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