restructure system configuration
This commit is contained in:
parent
8f58a79fe2
commit
e65c6bc159
27 changed files with 143 additions and 44 deletions
18
system/profiles/laptop/default.nix
Normal file
18
system/profiles/laptop/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.system.profile.laptop;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../modules
|
||||
];
|
||||
config = cfg.enable {
|
||||
system = {
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
powerSettings.enable = true
|
||||
backlight.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue