3a146f39b7
- Standardized apps/ directory by renaming all entry points (e.g., home.nix) to default.nix and updating imports to use directory paths. - Consolidated system/ logic into modules/system/, eliminating the top-level system/ directory and redundant wrappers. - Merged subsidiary utility scripts (e.g., hakase-popup.nix, switch-wallpaper.nix) into their parent default.nix files for better cohesion. - Cleaned up unused files and updated all module references to reflect the new structure.
13 lines
312 B
Nix
13 lines
312 B
Nix
{
|
|
pkgs,
|
|
myConfig,
|
|
config,
|
|
...
|
|
}: {
|
|
hardware.i2c.enable = true;
|
|
# boot.extraModulePackages = [config.boot.kernelPackages.ddcci-driver];
|
|
# boot.kernelModules = ["ddcci_backlight"];
|
|
environment.systemPackages = with pkgs; [ddcutil];
|
|
users.users.${myConfig.nixos.username}.extraGroups = ["i2c"];
|
|
}
|