restore hyprland dotfiles from backups

This commit is contained in:
afoucaultc 2026-08-07 11:11:45 +02:00
parent 5dc6c8a77c
commit 4dd1504a4c
12 changed files with 397 additions and 30 deletions

View file

@ -0,0 +1,40 @@
{
pkgs,
lib,
inputs,
...
}:
{
security = {
polkit.enable = true;
pam.services.hyprlock = { };
};
programs = {
dconf.enable = true;
xwayland.enable = true;
};
services.graphical-desktop.enable = true;
services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkDefault true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
};
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIITfGmwGaMwaOAd6DDeaU="
];
};
security.wrappers.Hyprland = {
owner = "root";
group = "root";
capabilities = "cap_sys_nice+ep";
source = lib.getExe inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
};
}

View file

@ -25,7 +25,7 @@
./config/programs/gamescope.nix
./config/programs/steam.nix
# packages & others
./config/hyprland.nix
./config/wayland.nix
./config/system_packages.nix
# profil nixos pour mon ordi portable maison
# nécessite l'input nixos-hardware dans flake.nix.