trying to get hyprland to latest latest version to fix crashing windows... it did not work
This commit is contained in:
parent
7f706e870e
commit
85b427cb12
12 changed files with 1090 additions and 69 deletions
|
|
@ -52,6 +52,7 @@ in
|
|||
description = "Fast shutdown";
|
||||
};
|
||||
enableSleep = lib.mkEnableOption (lib.mdDoc "Enable auto sleeping");
|
||||
hideBootLogs = lib.mkEnableOption (lib.mdDoc "Hide boot logs on startup");
|
||||
};
|
||||
imports = [
|
||||
./shell/common.nix
|
||||
|
|
@ -111,11 +112,14 @@ in
|
|||
"https://cache.nixos.org/"
|
||||
"https://hyprland.cachix.org"
|
||||
"https://cosmic.cachix.org/"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-substituters = config.nix.settings.substituters;
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
nix.extraOptions = ''
|
||||
|
|
@ -194,5 +198,14 @@ in
|
|||
AllowSuspendThenHibernate=no
|
||||
AllowHybridSleep=no
|
||||
'';
|
||||
|
||||
# Hide boot logs
|
||||
boot.initrd.verbose = cfg.hideBootLogs;
|
||||
boot.consoleLogLevel = lib.mkIf cfg.hideBootLogs 3;
|
||||
boot.kernelParams = lib.mkIf cfg.hideBootLogs [
|
||||
"quiet"
|
||||
"loglevel=3"
|
||||
"systemd.show_status=false"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue