Compare commits
19 commits
9f2a529bd1
...
7ebfaa1de8
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ebfaa1de8 | |||
| 7bd06002de | |||
| d6e3f20208 | |||
| 437b8b8b17 | |||
| 9b68905c26 | |||
| f5e24b5db8 | |||
| 37cfcadfc6 | |||
| fefd405e08 | |||
| 2d3add3536 | |||
| 198b8e7e0a | |||
| e4b7d562a4 | |||
| 7884ef1047 | |||
| 6088f85bec | |||
| 1d888f68e3 | |||
| 42cbe79cae | |||
| ef55541337 | |||
| 8dcbd6e850 | |||
| e9abcb0307 | |||
| c27b83652a |
2 changed files with 8 additions and 14 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Configuration that spans accross system and home, or are almagations of modules
|
||||
{ config, lib, type, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./bluetooth
|
||||
|
|
@ -9,17 +9,4 @@
|
|||
./wm
|
||||
./x
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,6 +19,13 @@ in
|
|||
"${inputs.self}/modules/common"
|
||||
"${inputs.self}/modules/home"
|
||||
];
|
||||
|
||||
config = {
|
||||
my = {
|
||||
# Transparently enable home-manager profiles as well
|
||||
inherit (config.my) profiles;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Nix Flakes compatibility
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue