forked from ners/NixOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsway.nix
37 lines (37 loc) · 780 Bytes
/
sway.nix
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
26
27
28
29
30
31
32
33
34
35
36
37
{ config, pkgs, ... }:
{
services.xserver.displayManager.defaultSession = "sway";
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
extraPackages = with pkgs; [
alacritty
brightnessctl
grim
kanshi
mako
playerctl
python3
python3Packages.i3ipc
python3Packages.pillow
sway-contrib.grimshot
swayidle
swaylock
unstable.waybar
unstable.wlsunset
wdisplays
wl-clipboard
wofi
xwayland
(import ./packages/screenlock)
];
};
location.provider = "geoclue2";
services.geoclue2.enable = true;
environment.etc = {
"sway/config".source = ./dotfiles/sway/config;
"sway/screenlock".source = ./dotfiles/sway/screenlock;
"sway/conf".source = ./dotfiles/sway/conf;
"xdg/waybar".source = ./dotfiles/waybar;
};
}