Skip to content

Commit

Permalink
[desktop] drop displayManager setup commands
Browse files Browse the repository at this point in the history
These commands create horrible directories & files: /.gtkrc and /.cache
during system boot. The patch is a workaround of NixOS/nixpkgs#199881,
NixOS/nixpkgs#187963.

Link: NixOS/nixpkgs#187963
Link: NixOS/nixpkgs#199881 (review)
  • Loading branch information
inclyc committed Jan 12, 2023
1 parent f325435 commit 77993c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/lyc-desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:

{

Expand Down Expand Up @@ -54,6 +54,9 @@
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;

# Workaround of nixpkgs#187963 and nixpkgs#199881
services.xserver.displayManager.setupCommands = lib.mkForce "";

# Configure keymap in X11
services.xserver = {
layout = "us";
Expand Down

0 comments on commit 77993c1

Please sign in to comment.