lock update and temporary linux-firmware fix

This commit is contained in:
2025-06-22 21:02:30 +02:00
parent 1aa82872bd
commit 4b71da350f
16 changed files with 91 additions and 646 deletions

View File

@@ -2,6 +2,7 @@
config,
lib,
inputs,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption mkDefault;
@@ -33,6 +34,7 @@ in {
programs.hyprland = {
enable = true;
package = pkgs.hyprland;
withUWSM = true;
};
environment.variables.NIXOS_OZONE_WL = "1";

View File

@@ -65,8 +65,6 @@ in {
(mkIf (host == "cnixtop") {
programs.hyprland.settings = {
render = {
explicit_sync = 2;
explicit_sync_kms = 2;
direct_scanout = false;
};
cursor = {
@@ -99,8 +97,6 @@ in {
(mkIf (host == "toothpc") {
programs.hyprland.settings = {
render = {
explicit_sync = 0;
explicit_sync_kms = 0;
direct_scanout = false;
};
cursor = {

View File

@@ -14,7 +14,7 @@ in {
config = mkIf cfg.enable (mkMerge [
{
programs.hyprland.settings = {
windowrulev2 = [
windowrule = [
# === CALCURSE SETTINGS ===
"size 843 650, initialTitle:^(floatcal)$"
"move 100%-w-20 40, initialTitle:^(floatcal)$"
@@ -68,7 +68,6 @@ in {
"workspace 4 silent, class:^(steam_app_0)$"
"workspace 4 silent, title:^(World of Warcraft)$"
];
windowrule = [];
layerrule = [
"animation fade,hyprpicker"
"animation fade,selection"

View File

@@ -1,32 +0,0 @@
{
pkgs,
inputs,
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.nixos.programs.hyprland;
# hyprsysteminfoFlake = inputs.hyprsysteminfo.packages.${pkgs.system}.default;
in {
options = {
nixos.programs.hyprland = {
enable = mkEnableOption "Enables hyprland";
};
};
config = mkIf cfg.enable {
security.pam.services.hyprlock.text = "auth include login";
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.default;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
environment = {
variables.NIXOS_OZONE_WL = "1";
systemPackages = [
# pkgs.hyprwayland-scanner
# hyprsysteminfoFlake
];
};
};
}