Uploading my nixos dotfiles to gitea
This commit is contained in:
commit
5e7911e35d
29 files changed
+1276
No files matched your search
@@ -0,0 +1,24 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
# Undo nixpkgs' cap_sys_nice wrapper — it leaks into every child
|
||||
# process (terminal, rofi, everything), breaking bwrap-sandboxed
|
||||
# apps like Steam. We don't use RT scheduling anyway (see below).
|
||||
security.wrappers.Hyprland = lib.mkForce {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
source = lib.getExe config.programs.hyprland.package;
|
||||
capabilities = "";
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
HYPRLAND_NO_RT = "1";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user