mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
26 lines
528 B
Nix
26 lines
528 B
Nix
{ lib, tree, ... }: with lib; let
|
|
profiles = tree.prev;
|
|
appendedProfiles = {
|
|
common-wifi-bt = {
|
|
imports = with profiles; [
|
|
wifi
|
|
bluetooth
|
|
];
|
|
};
|
|
laptop = {
|
|
imports = with profiles; [
|
|
laptop
|
|
sound
|
|
];
|
|
};
|
|
lenovo-thinkpad-x260 = {
|
|
imports = with profiles; [
|
|
lenovo-thinkpad-x260
|
|
lenovo-thinkpad-x260-local
|
|
appendedProfiles.laptop
|
|
appendedProfiles.common-wifi-bt
|
|
];
|
|
};
|
|
};
|
|
in
|
|
profiles // appendedProfiles
|