mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: the stuff of nightmares
This commit is contained in:
parent
b589fdda9f
commit
3a29446c96
51 changed files with 679 additions and 1094 deletions
26
nixos/hardware/default.nix
Normal file
26
nixos/hardware/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue