35 lines
506 B
Nix
35 lines
506 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
let
|
|
modules =
|
|
if config.networking.hostName == "marty-pc" then
|
|
[
|
|
./git.nix
|
|
./vscodium.nix
|
|
./window_manager/imports.nix
|
|
|
|
]
|
|
else if config.networking.hostName == "marty-latitude" then
|
|
[
|
|
./git.nix
|
|
./vscodium.nix
|
|
./window_manager/imports.nix
|
|
|
|
]
|
|
else if config.networking.hostName == "marty-server" then
|
|
[
|
|
./git.nix
|
|
|
|
]
|
|
else
|
|
[ ];
|
|
in
|
|
|
|
{
|
|
imports = modules;
|
|
}
|