2024-01-03 17:51:34 +01:00
|
|
|
# Configuration that spans accross system and home, or are almagations of modules
|
2024-01-03 17:51:34 +01:00
|
|
|
{ config, lib, type, ... }:
|
2024-01-03 17:51:34 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-01-03 17:51:34 +01:00
|
|
|
./bluetooth
|
2024-01-03 18:03:09 +01:00
|
|
|
./devices
|
2024-01-03 18:03:47 +01:00
|
|
|
./gtk
|
2024-01-03 18:05:16 +01:00
|
|
|
./laptop
|
2024-01-03 18:05:37 +01:00
|
|
|
./wm
|
2024-01-03 18:05:54 +01:00
|
|
|
./x
|
2024-01-03 17:51:34 +01:00
|
|
|
];
|
2024-01-03 17:51:34 +01:00
|
|
|
|
|
|
|
config = lib.mkMerge [
|
|
|
|
# Transparently enable home-manager profiles as well
|
|
|
|
(lib.optionalAttrs (type == "nixos") {
|
|
|
|
home-manager.users.${config.my.user.name} = {
|
|
|
|
config = {
|
|
|
|
my = {
|
|
|
|
inherit (config.my) profiles;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
2024-01-03 17:51:34 +01:00
|
|
|
}
|