🧹 Moved almost all files to /modules. Moved some code to separate files
This commit is contained in:
25
modules/hyprland/default.nix
Normal file
25
modules/hyprland/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
# System configurations for Hyprland. For home configs, see ./home/hyprland
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./waybar.nix
|
||||
./wallpaper.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
xdg-desktop-portal-hyprland
|
||||
hyprpolkitagent # Auth deamon providing modals for password auth
|
||||
hyprshot # Screenshots
|
||||
];
|
||||
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
hyprlock.enable = true; # Lock screen
|
||||
};
|
||||
|
||||
services.hypridle.enable = true; # Lock when unused
|
||||
}
|
Reference in New Issue
Block a user