mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 07:06:12 +01:00
fix: laptop typos adjustments
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
hostname,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
boot = {
|
boot = {
|
||||||
@@ -12,15 +11,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
TLP_DEFAULT_MODE =
|
TLP_DEFAULT_MODE = "BAT";
|
||||||
if hostname == "laptop"
|
|
||||||
then "BAT"
|
|
||||||
else "AC";
|
|
||||||
|
|
||||||
TLP_PERSISTENT_DEFAULT =
|
TLP_PERSISTENT_DEFAULT = 0;
|
||||||
if hostname == "laptop"
|
|
||||||
then 0
|
|
||||||
else 1;
|
|
||||||
|
|
||||||
CPU_BOOST_ON_AC = 1;
|
CPU_BOOST_ON_AC = 1;
|
||||||
CPU_BOOST_ON_BAT = 0;
|
CPU_BOOST_ON_BAT = 0;
|
||||||
|
|||||||
@@ -29,12 +29,12 @@
|
|||||||
../modules/ananicy.nix
|
../modules/ananicy.nix
|
||||||
../modules/bluetooth.nix
|
../modules/bluetooth.nix
|
||||||
../modules/boot.nix
|
../modules/boot.nix
|
||||||
../modules/configuration.nix
|
../modules/common.nix
|
||||||
../modules/development.nix
|
../modules/development.nix
|
||||||
../modules/distributed-builds.nix
|
../modules/distributed-builds.nix
|
||||||
../modules/fstrim.nix
|
../modules/fstrim.nix
|
||||||
../modules/gaming.nix
|
../modules/gaming.nix
|
||||||
../modules/greetd.nix
|
# ../modules/greetd.nix
|
||||||
../modules/gsettings.nix
|
../modules/gsettings.nix
|
||||||
# ../modules/kde.nix
|
# ../modules/kde.nix
|
||||||
# ../modules/lanzaboot.nix
|
# ../modules/lanzaboot.nix
|
||||||
@@ -50,6 +50,7 @@
|
|||||||
../modules/tlp.nix
|
../modules/tlp.nix
|
||||||
../modules/users.nix
|
../modules/users.nix
|
||||||
../modules/vm.nix
|
../modules/vm.nix
|
||||||
|
../modules/xserver.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "thor";
|
networking.hostName = "thor";
|
||||||
|
|||||||
Reference in New Issue
Block a user