even more changes

This commit is contained in:
Charlie Root 2024-08-16 22:46:01 +02:00
commit 1d2a73c25a
14 changed files with 120 additions and 108 deletions

View file

@ -0,0 +1 @@
_: {imports = [./grub-boot.nix];}

View file

@ -1,5 +1,9 @@
_: {
imports = [
./keyboard.nix
./boot
./hardware
./nix/module.nix
./os/networking/module.nix
];
}

View file

@ -2,12 +2,13 @@
config,
lib,
pkgs,
...
}: let
cfg = config.modules.system.hardware.bluetooth;
inherit (config.modules.other.system) username;
inherit (lib) mkIf;
in {
confg = mkIf cfg.enable {
config = mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
powerOnBoot = mkIf cfg.powerOnBoot true;

View file

@ -0,0 +1 @@
_: {imports = [./bluetooth.nix ./graphics.nix];}

View file

@ -0,0 +1 @@
_: {imports = [./pipewire];}