~ruther/nixos-config

ref: 7853b4870f22b764029164454ea105e8d76c2c2d nixos-config/home/modules/profiles/desktop/default.nix -rw-r--r-- 281 bytes
7853b487 — Frantisek Bohacek feat: use desktopSessions options instead of custom .sessions folder 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, lib, pkgs, ... }:

{
  imports = [
    ./qtile
    ./dwl
    ./gnome.nix
  ];

  options = {
    profiles.desktop = {
      enable = lib.mkEnableOption "desktop";
    };
  };

  config = lib.mkIf config.profiles.desktop.enable {
    desktopSessions.enable = true;
  };
}
Do not follow this link