diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-11 16:18:23 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-11 17:10:41 -0500 |
commit | ce26b3eaf000f4be9803d299bdb4d27af18d6ed5 (patch) | |
tree | ff11ae1bbb6b346d77d8a90cc0cb2fef7368a074 /nixos/tests | |
parent | 04c5e20496aa60deeebcb7b69b417c4292bd7df8 (diff) | |
download | nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.tar nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.tar.gz nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.tar.bz2 nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.tar.lz nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.tar.xz nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.tar.zst nixlib-ce26b3eaf000f4be9803d299bdb4d27af18d6ed5.zip |
nixos/slim: remove
The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to systems, no one is working on it or picked up maintenance. It also lacks compatibility with systemd and logind sessions. For users, there liikely isn't anything like slim that's as lightweight in terms of dependencies.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/all-tests.nix | 1 | ||||
-rw-r--r-- | nixos/tests/slim.nix | 66 |
2 files changed, 0 insertions, 67 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 9db505a27d41..2f480f9ea3e5 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -247,7 +247,6 @@ in shiori = handleTest ./shiori.nix {}; signal-desktop = handleTest ./signal-desktop.nix {}; simple = handleTest ./simple.nix {}; - slim = handleTest ./slim.nix {}; slurm = handleTest ./slurm.nix {}; smokeping = handleTest ./smokeping.nix {}; snapper = handleTest ./snapper.nix {}; diff --git a/nixos/tests/slim.nix b/nixos/tests/slim.nix deleted file mode 100644 index 42c87dfa039d..000000000000 --- a/nixos/tests/slim.nix +++ /dev/null @@ -1,66 +0,0 @@ -import ./make-test.nix ({ pkgs, ...} : { - name = "slim"; - - meta = with pkgs.stdenv.lib.maintainers; { - maintainers = [ aszlig ]; - }; - - machine = { pkgs, ... }: { - imports = [ ./common/user-account.nix ]; - services.xserver.enable = true; - services.xserver.windowManager.default = "icewm"; - services.xserver.windowManager.icewm.enable = true; - services.xserver.desktopManager.default = "none"; - services.xserver.displayManager.slim = { - enable = true; - - # Use a custom theme in order to get best OCR results - theme = pkgs.runCommand "slim-theme-ocr" { - nativeBuildInputs = [ pkgs.imagemagick ]; - } '' - mkdir "$out" - convert -size 1x1 xc:white "$out/background.jpg" - convert -size 200x100 xc:white "$out/panel.jpg" - cat > "$out/slim.theme" <<EOF - background_color #ffffff - background_style tile - - input_fgcolor #000000 - msg_color #000000 - - session_color #000000 - session_font Verdana:size=16:bold - - username_msg Username: - username_font Verdana:size=16:bold - username_color #000000 - username_x 50% - username_y 40% - - password_msg Password: - password_x 50% - password_y 40% - EOF - ''; - }; - }; - - enableOCR = true; - - testScript = { nodes, ... }: let - user = nodes.machine.config.users.users.alice; - in '' - startAll; - $machine->waitForText(qr/Username:/); - $machine->sendChars("${user.name}\n"); - $machine->waitForText(qr/Password:/); - $machine->sendChars("${user.password}\n"); - - $machine->waitForFile('${user.home}/.Xauthority'); - $machine->succeed('xauth merge ${user.home}/.Xauthority'); - $machine->waitForWindow('^IceWM '); - - # Make sure SLiM doesn't create a log file - $machine->fail('test -e /var/log/slim.log'); - ''; -}) |