64 lines
1.4 KiB
Nix
64 lines
1.4 KiB
Nix
{ config
|
|
, lib
|
|
, pkgs
|
|
, unstablePkgs
|
|
, ...
|
|
}:
|
|
let
|
|
cfg = config.skyg.nixos.desktop.tiler;
|
|
in
|
|
{
|
|
imports = [
|
|
./hyprland.nix
|
|
./niri.nix
|
|
./swww.nix
|
|
];
|
|
options = {
|
|
skyg.nixos.desktop.tiler = {
|
|
enable = lib.mkEnableOption "Enable libraries for tiling window managers";
|
|
};
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
environment.sessionVariables.ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
|
users.users.${config.skyg.user.name} = {
|
|
extraGroups = [
|
|
"input"
|
|
];
|
|
};
|
|
# services.blueman.enable = true;
|
|
programs.dank-material-shell = {
|
|
enable = true;
|
|
dgop.package = unstablePkgs.dgop;
|
|
systemd = {
|
|
enable = true; # Systemd service for auto-start
|
|
restartIfChanged = true; # Auto-restart dms.service when dankMaterialShell changes
|
|
};
|
|
};
|
|
# programs.hyprlock.enable = true;
|
|
# programs.nm-applet.enable = true;
|
|
environment.systemPackages = with pkgs; [
|
|
# Protocols and libraries
|
|
xwayland-satellite
|
|
libnotify
|
|
# Notifications
|
|
# wofi
|
|
# rofi
|
|
kdePackages.qtwebsockets
|
|
# Control Tools
|
|
pavucontrol
|
|
playerctl
|
|
brightnessctl
|
|
# networkmanagerapplet
|
|
blueman
|
|
# Apps
|
|
gnome-calendar
|
|
nautilus
|
|
# Screen capture and recording tools
|
|
# grim # replaced for now with dms
|
|
satty # image annotation
|
|
slurp
|
|
wf-recorder # video capture
|
|
];
|
|
};
|
|
}
|