aboutsummaryrefslogtreecommitdiff
path: root/nixos/spec.nix
blob: 77ac31024de5795eb9817cff4ad16f3890ae7609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, pkgs, lib, ... }: {
  specialisation = {
    wayland = {
      configuration = {
        programs = {
          hyprland = {
            enable = true; # enables Hyprland DM.
            withUWSM = true; # NEW Universal Wayland Session Manager
          };
        };
      };
    };
    xorg = {
      configuration = lib.recursiveUpdate
        {
          services.xserver.displayManager.startx.enable = true;
        }
        (import ./dwm {
          inherit config;
          inherit pkgs;
          inherit lib;
        });
    };
  };
}