Config changes

This commit is contained in:
2025-01-02 09:35:55 +01:00
parent b023df2fab
commit 3c31e70fd2
6 changed files with 32 additions and 31 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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