summary refs log tree commit diff
path: root/nixos/tests/plasma5.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-06 20:39:42 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-25 09:22:39 -0500
commite4962aa6a7ef1c6c4fe00740b6e818905f3e7f96 (patch)
tree279ec7f24f679c3c13cfa316436b07390d2058e0 /nixos/tests/plasma5.nix
parent71882102e35ee20910eb8f8f8544606a636dd572 (diff)
downloadnixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.tar
nixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.tar.gz
nixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.tar.bz2
nixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.tar.lz
nixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.tar.xz
nixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.tar.zst
nixpkgs-e4962aa6a7ef1c6c4fe00740b6e818905f3e7f96.zip
nixosTests.plasma5: drop sddm ocr theme
OCR in this test has been disabled.
Diffstat (limited to 'nixos/tests/plasma5.nix')
-rw-r--r--nixos/tests/plasma5.nix17
1 files changed, 2 insertions, 15 deletions
diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix
index 614fc9bf316..c0c2a86b41c 100644
--- a/nixos/tests/plasma5.nix
+++ b/nixos/tests/plasma5.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} :
+import ./make-test-python.nix ({ pkgs, ...} :
 
 {
   name = "plasma5";
@@ -7,23 +7,11 @@ import ./make-test.nix ({ pkgs, ...} :
   };
 
   machine = { ... }:
-  let
-    sddm_theme = pkgs.stdenv.mkDerivation {
-      name = "breeze-ocr-theme";
-      phases = "buildPhase";
-      buildCommand = ''
-        mkdir -p $out/share/sddm/themes/
-        cp -r ${pkgs.plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/breeze-ocr-theme
-        chmod -R +w $out/share/sddm/themes/breeze-ocr-theme
-        printf "[General]\ntype=color\ncolor=#1d99f3\nbackground=\n" > $out/share/sddm/themes/breeze-ocr-theme/theme.conf
-      '';
-    };
-  in
+
   {
     imports = [ ./common/user-account.nix ];
     services.xserver.enable = true;
     services.xserver.displayManager.sddm.enable = true;
-    services.xserver.displayManager.sddm.theme = "breeze-ocr-theme";
     services.xserver.desktopManager.plasma5.enable = true;
     services.xserver.desktopManager.default = "plasma5";
     services.xserver.displayManager.sddm.autoLogin = {
@@ -32,7 +20,6 @@ import ./make-test.nix ({ pkgs, ...} :
     };
     hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
     virtualisation.memorySize = 1024;
-    environment.systemPackages = [ sddm_theme ];
   };
 
   testScript = { nodes, ... }: let