add hyprland (no fully configured yet but working)

This commit is contained in:
smayzy 2025-06-20 12:54:58 +02:00
parent b02d7c3f6b
commit 1e4d4a466d
3 changed files with 26 additions and 6 deletions

View File

@ -48,8 +48,6 @@
packages = with pkgs; [];
};
services.xserver.enable = true;
services.xserver.xkb = {
layout = "fr";
variant = "";
@ -60,6 +58,19 @@
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
hardware = {
graphics.enable = true;
nvidia.modesetting.enable = true;
};
environment.systemPackages = with pkgs; [
home-manager
wget
@ -72,6 +83,10 @@
wofi
qutebrowser
wlogout
waybar
wl-clipboard
libnotify
hyprpaper
];
programs.firefox.enable = true;

View File

@ -1,11 +1,11 @@
# Autostarts here
#exec-once = waybar
#exec = hyprpaper
#exec = killall waybar && waybar
exec-once = waybar
exec = hyprpaper
exec = killall waybar && waybar
#exec-once = wl-paste --type text --watch cliphist store
#exec-once = wl-paste --type image --watch cliphist store
#exec-once = systemctl --user start hyprpolkitagent
#exec-once = mako
exec-once = mako
# APPs
#exec-once = [workspace 11 silent] webcord
#exec-once = [workspace 10 silent] thunderbird

View File

@ -47,6 +47,11 @@
recursive = true;
force = true;
};
"wallpaper" = {
source = builtins.toPath ./wallpapers;
recursive = true;
force = true;
};
};
home.sessionVariables = {