diff --git a/host/x86_64-linux/desktop/default.nix b/host/x86_64-linux/desktop/default.nix index 278603c..76834a1 100644 --- a/host/x86_64-linux/desktop/default.nix +++ b/host/x86_64-linux/desktop/default.nix @@ -6,7 +6,6 @@ }; module = { - autoupdate.enable = true; builder.client.enable = true; distrobox.enable = true; keyd.enable = true; diff --git a/host/x86_64-linux/pocket/Boot.nix b/host/x86_64-linux/pocket/Boot.nix new file mode 100644 index 0000000..71b1c46 --- /dev/null +++ b/host/x86_64-linux/pocket/Boot.nix @@ -0,0 +1,6 @@ +{ ... }: { + boot.kernelParams = [ + "fbcon=rotate:1" + "video=DSI-1:rotate=90" + ]; +} diff --git a/host/x86_64-linux/pocket/Logind.nix b/host/x86_64-linux/pocket/Logind.nix new file mode 100644 index 0000000..6d5aa2d --- /dev/null +++ b/host/x86_64-linux/pocket/Logind.nix @@ -0,0 +1,6 @@ +{ ... }: { + services.logind = { + powerKey = "ignore"; + lidSwitch = "ignore"; + }; +} diff --git a/host/x86_64-linux/pocket/Tlp.nix b/host/x86_64-linux/pocket/Tlp.nix new file mode 100644 index 0000000..1474255 --- /dev/null +++ b/host/x86_64-linux/pocket/Tlp.nix @@ -0,0 +1,3 @@ +{ ... }: { + services.tlp.enable = true; +} diff --git a/host/x86_64-linux/pocket/default.nix b/host/x86_64-linux/pocket/default.nix index 55d5a5a..21173e8 100644 --- a/host/x86_64-linux/pocket/default.nix +++ b/host/x86_64-linux/pocket/default.nix @@ -1,16 +1,4 @@ { 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; user = { root.enable = true; diff --git a/host/x86_64-linux/work/default.nix b/host/x86_64-linux/work/default.nix index 8182fce..26635c3 100644 --- a/host/x86_64-linux/work/default.nix +++ b/host/x86_64-linux/work/default.nix @@ -10,7 +10,6 @@ }; module = { - autoupdate.enable = true; builder.client.enable = true; sway.enable = true; kernel.enable = true;