mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-03-13 03:24:05 +01:00
Compare commits
No commits in common. "1e3eee277f69339abbd9646143cd3978e7b38d5d" and "d33c6f314c4547bfaf25e27a622d714e2ba1f038" have entirely different histories.
1e3eee277f
...
d33c6f314c
3 changed files with 5 additions and 15 deletions
|
|
@ -18,7 +18,7 @@ in
|
|||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = true; # show battery percentages
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,12 +27,5 @@ in
|
|||
thermald.enable = true;
|
||||
upower.enable = true;
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
# disable USB auto suspend for Keychron Q3 HE
|
||||
ACTION=="bind", SUBSYSTEM=="usb", ATTR{idVendor}=="3434", ATTR{idProduct}=="0b31", ATTR{power/autosuspend}="-1"
|
||||
# disable USB auto suspend for Keychron Q3
|
||||
ACTION=="bind", SUBSYSTEM=="usb", ATTR{idVendor}=="3434", ATTR{idProduct}=="0123", ATTR{power/autosuspend}="-1"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,12 +8,9 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# start sway if login happens
|
||||
environment.interactiveShellInit = ''
|
||||
if test `tty` = /dev/tty1; then
|
||||
exec sway
|
||||
fi
|
||||
'';
|
||||
services.displayManager.lemurs = {
|
||||
enable = true;
|
||||
settings.environment_switcher.include_tty_shell = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue