~ruther/nixos-config

ref: d7546970bd34c28ce3bcf4ec4448cdfbead24821 nixos-config/modules/desktop/dm/greetd.nix -rw-r--r-- 408 bytes
d7546970 — Frantisek Bohacek refactor: split qtile configuration 1 year, 27 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs, ... }:

{
  services.greetd = {
    enable = true;
    settings = {
      default_session = {
        user = "ruther";
        command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd '${pkgs.qtile}/bin/qtile start'";
      };
      gnome = {
        user = "ruther";
        command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd '${pkgs.gnome.gnome-session}/bin/gnome-session'";
      };
    };
  };
}
Do not follow this link