Watch
0
1
Fork
You've already forked nixos-configuration
0

move imports, options

This commit is contained in:
Vinzenz Schroeter 2023-09-11 21:49:40 +02:00
commit c6eefbb5bc

View file

@ -1,18 +1,5 @@
{
lib,
config,
...
}: let
isEnabled = config.my.hardware.common-desktop.enable;
in {
imports = [
];
options.my.hardware.common-desktop = {
enable = lib.mkEnableOption "common desktop hardware settings";
};
config = lib.mkIf isEnabled {
{lib, ...}: {
config = {
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;