Pocket: Split host config.

This commit is contained in:
Dmitry Voronin 2024-11-10 13:33:38 +03:00
parent a32b942c26
commit 850c83ea37
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
6 changed files with 15 additions and 14 deletions

View file

@ -6,7 +6,6 @@
}; };
module = { module = {
autoupdate.enable = true;
builder.client.enable = true; builder.client.enable = true;
distrobox.enable = true; distrobox.enable = true;
keyd.enable = true; keyd.enable = true;

View file

@ -0,0 +1,6 @@
{ ... }: {
boot.kernelParams = [
"fbcon=rotate:1"
"video=DSI-1:rotate=90"
];
}

View file

@ -0,0 +1,6 @@
{ ... }: {
services.logind = {
powerKey = "ignore";
lidSwitch = "ignore";
};
}

View file

@ -0,0 +1,3 @@
{ ... }: {
services.tlp.enable = true;
}

View file

@ -1,16 +1,4 @@
{ lib, ... }: { { lib, ... }: {
boot.kernelParams = [
"fbcon=rotate:1"
"video=DSI-1:rotate=90"
];
services.logind = {
powerKey = "ignore";
lidSwitch = "ignore";
};
services.tlp.enable = true;
home.nixos.enable = true; home.nixos.enable = true;
user = { user = {
root.enable = true; root.enable = true;

View file

@ -10,7 +10,6 @@
}; };
module = { module = {
autoupdate.enable = true;
builder.client.enable = true; builder.client.enable = true;
sway.enable = true; sway.enable = true;
kernel.enable = true; kernel.enable = true;