mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-25 00:48:19 +00:00
13 lines
294 B
Nix
13 lines
294 B
Nix
{ config, pkgs, home, ... }:
|
|
|
|
let
|
|
environment = builtins.getEnv "ENVIRONMENT";
|
|
in
|
|
{
|
|
imports =
|
|
if environment == "work"
|
|
then [ ./core.nix ./work.nix ]
|
|
else if environment == "personal-macos"
|
|
then [ ./core.nix ./personal-macos.nix ]
|
|
else [ ./core.nix ./personal.nix ];
|
|
}
|