Added working macbook m1 config
This commit is contained in:
parent
753d9c0e96
commit
6ffdf4a0ee
33 changed files with 9639 additions and 46 deletions
|
|
@ -16,7 +16,7 @@ in
|
|||
monitor = if hostname == "nixosbtw" then [
|
||||
"DP-1,2560x1440@75,1600x0,1.6"
|
||||
"DP-3,2560x1440@75,0x0,1.6"
|
||||
] else ",auto,auto,1.6";
|
||||
] else ",highres,auto,1.6";
|
||||
|
||||
xwayland = {
|
||||
force_zero_scaling = true;
|
||||
|
|
@ -113,6 +113,10 @@ in
|
|||
input = {
|
||||
kb_layout = "us, ru";
|
||||
kb_options = "grp:caps_toggle";
|
||||
|
||||
touchpad = {
|
||||
natural_scroll = true;
|
||||
};
|
||||
};
|
||||
env = [
|
||||
"LIBVA_DRIVER_NAME,nvidia"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, hostname, ... }:
|
||||
|
||||
{
|
||||
programs.waybar = {
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
#"memory"
|
||||
#"temperature"
|
||||
"hyprland/language"
|
||||
] #++ (if config.hostId == "yoga" then [ "battery" ] else [ ])
|
||||
] ++ (if hostname != "nixosbtw" then [ "battery" ] else [ ])
|
||||
++ [
|
||||
"tray"
|
||||
"custom/notification"
|
||||
|
|
@ -42,11 +42,11 @@
|
|||
"custom/power"
|
||||
];
|
||||
battery = {
|
||||
format = "{capacity}% {icon}";
|
||||
format-alt = "{time} {icon}";
|
||||
format-charging = "{capacity}% ";
|
||||
format = " {capacity}% {icon} ";
|
||||
format-alt = " {time} {icon} ";
|
||||
format-charging = " {capacity}% ";
|
||||
format-icons = [ "" "" "" "" "" ];
|
||||
format-plugged = "{capacity}% ";
|
||||
format-plugged = " {capacity}% ";
|
||||
states = {
|
||||
critical = 15;
|
||||
warning = 30;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue