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; []; packages = with pkgs; [];
}; };
services.xserver.enable = true;
services.xserver.xkb = { services.xserver.xkb = {
layout = "fr"; layout = "fr";
variant = ""; variant = "";
@ -60,6 +58,19 @@
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.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; [ environment.systemPackages = with pkgs; [
home-manager home-manager
wget wget
@ -72,6 +83,10 @@
wofi wofi
qutebrowser qutebrowser
wlogout wlogout
waybar
wl-clipboard
libnotify
hyprpaper
]; ];
programs.firefox.enable = true; programs.firefox.enable = true;

View File

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

View File

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