refactor: move max into dentritic pattern
This commit is contained in:
41
modules/common/features/hyprland.nix
Normal file
41
modules/common/features/hyprland.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ self, inputs, ... }: {
|
||||
flake.nixosModules.commonFeatureHyprland = { pkgs, ... }: {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --cmd 'uwsm start hyprland-uwsm.desktop'";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.services.hyprlock = {};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprpaper
|
||||
hypridle
|
||||
hyprpicker
|
||||
hyprsunset
|
||||
hyprshot
|
||||
waybar
|
||||
walker
|
||||
swayosd
|
||||
|
||||
playerctl
|
||||
brightnessctl
|
||||
wl-clipboard
|
||||
wdisplays
|
||||
|
||||
bluetui
|
||||
|
||||
kdePackages.dolphin
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user