bring back nix-darwin hosts compatability

This commit is contained in:
Yan Lin 2025-11-13 10:40:27 +01:00
parent 1b6a0430d2
commit 0bf4fb87c6
13 changed files with 579 additions and 31 deletions

View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
imports = [
../home-default.nix
];
# MacBook-specific home configuration
# Example: Laptop-specific tools, power management, etc.
# yt-dlp configuration
programs.yt-dlp-custom = {
enable = true;
downloadDir = "~/Downloads/Videos";
};
}

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
# MacBook-specific configuration
networking.computerName = "macbook";
networking.hostName = "macbook";
# Import common Darwin configuration
imports = [
../system-default.nix
];
}