9083c619a6
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
39 lines
658 B
Nix
39 lines
658 B
Nix
{ pkgs, config, lib, inputs, ... }:
|
|
|
|
let
|
|
cfg = config.my.graphical.wayland;
|
|
in {
|
|
imports = [
|
|
./eww
|
|
./hyprland.nix
|
|
./hyprlock.nix
|
|
./swaylock.nix
|
|
./swayidle.nix
|
|
./gammastep.nix
|
|
./kanshi.nix
|
|
./gestures.nix
|
|
./ydotool.nix
|
|
./foot.nix
|
|
./fuzzel.nix
|
|
];
|
|
|
|
options.my.graphical.wayland = {
|
|
enable = lib.mkEnableOption null;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home = {
|
|
packages = (with pkgs; [
|
|
wl-clipboard
|
|
grim
|
|
slurp
|
|
wev
|
|
gamescope
|
|
inputs.my-nix-packages.packages.${system}.geticons
|
|
]);
|
|
|
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
|
};
|
|
};
|
|
}
|