refactor(nixos): move cpu and gpu config to modules
This commit is contained in:
parent
5bef7c46a6
commit
d816825ac3
6 changed files with 89 additions and 64 deletions
|
@ -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 { };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue