Config changes
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
./hardware/bluetooth.nix
|
||||
./hardware/fprint.nix
|
||||
./hardware/locale.nix
|
||||
# ./hardware/nvidia.nix
|
||||
./hardware/nvidia.nix
|
||||
./hardware/firewall.nix
|
||||
./hardware/printing.nix
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ lib, config, ... }:
|
||||
{ lib, config, inputs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
@@ -14,6 +14,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.nixos-cosmic.nixosModules.default
|
||||
];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ let
|
||||
cfg = config.settings.hardware.nvidia;
|
||||
in {
|
||||
options = {
|
||||
settings.hardware.firewall.enable = lib.mkOption {
|
||||
settings.hardware.nvidia.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = ''
|
||||
Enable nvidia drivers
|
||||
|
Reference in New Issue
Block a user