mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
fix screen flickering and keyboard not working
This commit is contained in:
parent
658b24fc7e
commit
9c2386d19e
7 changed files with 74 additions and 51 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue