refactor: rename home modules/general cleanup
This commit is contained in:
parent
16dd61d968
commit
653640b484
86 changed files with 230 additions and 322 deletions
50
home/modules/desktop/wayland/utility/default.nix
Normal file
50
home/modules/desktop/wayland/utility/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.desktop.wayland.base;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
grim
|
||||
gtk3
|
||||
libnotify
|
||||
waypipe
|
||||
pulseaudio
|
||||
pamixer
|
||||
slurp
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
wl-mirror
|
||||
xdg-utils
|
||||
wlr-randr
|
||||
];
|
||||
sessionVariables = {
|
||||
QT_QPA_PLATFORM = "wayland";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.targets.tray = {
|
||||
Unit = {
|
||||
Description = "Home Manager System Tray";
|
||||
Requires = ["graphical-session-pre.target"];
|
||||
};
|
||||
};
|
||||
|
||||
# services.gammastep = {
|
||||
# enable = true;
|
||||
# provider = "geoclue2";
|
||||
# temperature = {
|
||||
# day = 6000;
|
||||
# night = 4600;
|
||||
# };
|
||||
# settings = {
|
||||
# general.adjustment-method = "wayland";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue