blob: 1fb4c00049ae02f61609ae3b4da66c6837bbe7ab (
plain) (
blame)
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
|
{ pkgs, config, lib, ... }:
let cfg = config.my.programs.sway;
in {
options.my.programs.sway = with lib; {
enable = mkEnableOption "sway configuration";
};
config = lib.mkIf cfg.enable {
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
extraPackages = with pkgs; [
brightnessctl
polkit_gnome
xsettingsd
swaylock
swayidle
wl-clipboard
];
extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1
'';
};
};
}
|