mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-26 14:12:35 -05:00
collapse wayland programs.nix into the desktop
This commit is contained in:
parent
b582f716c1
commit
8a6e0b5c9e
5 changed files with 19 additions and 29 deletions
|
|
@ -5,13 +5,26 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
config = {
|
||||
programs.sway = lib.mkIf config.desktop.sway.enable {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
programs.dconf.enable = true;
|
||||
config.programs.sway = lib.mkIf config.desktop.sway.enable {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
extraPackages = with pkgs;
|
||||
[
|
||||
foot
|
||||
wofi
|
||||
swaynotificationcenter
|
||||
udiskie
|
||||
polkit_gnome
|
||||
swayidle
|
||||
sway-audio-idle-inhibit
|
||||
swaylock-effects
|
||||
sway-contrib.grimshot
|
||||
waybar
|
||||
wl-clipboard
|
||||
xorg.xrandr
|
||||
];
|
||||
};
|
||||
programs.dconf.enable = true;
|
||||
|
||||
config.environment = lib.mkIf config.desktop.sway.enable {
|
||||
sessionVariables = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue