refactor(nixos): move cpu and gpu config to modules

This commit is contained in:
Mohammad Rafiq 2025-04-27 01:01:12 +08:00
parent 5bef7c46a6
commit d816825ac3
No known key found for this signature in database
6 changed files with 89 additions and 64 deletions

View file

@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
...
}:
let
@ -10,8 +9,9 @@ let
in
{
imports = [
./nix-config.nix
./boot.nix
./hardware.nix
./nix-config.nix
];
options = {
@ -20,7 +20,5 @@ in
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ micro ];
};
config = lib.mkIf cfg.enable { };
}