fix screen flickering and keyboard not working

This commit is contained in:
EdenQwQ 2026-03-23 23:02:16 +08:00
parent 658b24fc7e
commit 9c2386d19e
7 changed files with 74 additions and 51 deletions

View file

@ -9,26 +9,25 @@ let
cfg = self.homeConfigurations."${user}@${host}".config;
in
{
stylix =
{
enable = true;
autoEnable = false;
targets = {
console.enable = true;
gnome.enable = true;
grub.enable = true;
plymouth.enable = true;
};
}
// (
if builtins.hasAttr "base16Scheme" cfg.stylix then
{ base16Scheme = lib.mkDefault cfg.stylix.base16Scheme; }
else
{ }
)
// (
if builtins.hasAttr "image" cfg.stylix then { image = lib.mkDefault cfg.stylix.image; } else { }
);
stylix = {
enable = true;
autoEnable = false;
targets = {
console.enable = true;
gnome.enable = true;
grub.enable = true;
plymouth.enable = true;
};
}
// (
if builtins.hasAttr "base16Scheme" cfg.stylix then
{ base16Scheme = lib.mkDefault cfg.stylix.base16Scheme; }
else
{ }
)
// (
if builtins.hasAttr "image" cfg.stylix then { image = lib.mkDefault cfg.stylix.image; } else { }
);
specialisation = builtins.mapAttrs (name: value: {
configuration = {
stylix =