diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-04-30 12:01:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 12:01:35 +0000 |
commit | 5122e188ab4d5cbf144c6ae7f9e355709eaed584 (patch) | |
tree | 52a6cae748b0567979a6dd247b938464c61348d6 /nixos | |
parent | 705277a96f1f6025ad3a20cd531c07c7ac57ac9f (diff) | |
parent | 095a5bbfefb4e6cbf363ca283fe0a48c80c8759f (diff) |
Merge master into staging-next
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/programs/hyprland.nix | 7 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/grafana.nix | 12 |
2 files changed, 2 insertions, 17 deletions
diff --git a/nixos/modules/programs/hyprland.nix b/nixos/modules/programs/hyprland.nix index b14f1f77fcf8a..92b8e992e6485 100644 --- a/nixos/modules/programs/hyprland.nix +++ b/nixos/modules/programs/hyprland.nix @@ -57,17 +57,14 @@ in }; config = mkIf cfg.enable { - environment = { - systemPackages = [ cfg.package ]; - - }; + environment.systemPackages = [ cfg.package ]; fonts.enableDefaultFonts = mkDefault true; hardware.opengl.enable = mkDefault true; programs = { dconf.enable = mkDefault true; - xwayland.enable = mkDefault true; + xwayland.enable = mkDefault cfg.xwayland.enable; }; security.polkit.enable = true; diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index 5a8c65b9dc3fb..e74ee641db386 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -92,17 +92,6 @@ let grafanaTypes.datasourceConfig = types.submodule { freeformType = provisioningSettingsFormat.type; - imports = [ - (mkRemovedOptionModule [ "password" ] '' - `services.grafana.provision.datasources.settings.datasources.<name>.password` has been removed - in Grafana 9. Use `secureJsonData` instead. - '') - (mkRemovedOptionModule [ "basicAuthPassword" ] '' - `services.grafana.provision.datasources.settings.datasources.<name>.basicAuthPassword` has been removed - in Grafana 9. Use `secureJsonData` instead. - '') - ]; - options = { name = mkOption { type = types.str; @@ -603,7 +592,6 @@ in { description = lib.mdDoc "List of datasources to insert/update."; default = []; type = types.listOf grafanaTypes.datasourceConfig; - apply = map (flip builtins.removeAttrs [ "password" "basicAuthPassword" ]); }; deleteDatasources = mkOption { |