From 1af42e77685721b2bb6961266977c316aa491c1d Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 10 Dec 2024 10:49:19 +0300 Subject: [PATCH] Max: Add a template. --- host/x86_64-linux/max/default.nix | 41 ++++++++++++++++++++++++++++ host/x86_64-linux/pocket/default.nix | 1 - 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 host/x86_64-linux/max/default.nix diff --git a/host/x86_64-linux/max/default.nix b/host/x86_64-linux/max/default.nix new file mode 100644 index 00000000..2dd862ba --- /dev/null +++ b/host/x86_64-linux/max/default.nix @@ -0,0 +1,41 @@ +{ ... }: { + home.nixos.enable = true; + user = { + root = true; + voronind = true; + }; + + module = { + builder.client.enable = true; + package.extra = true; + print.enable = true; + syncthing.enable = true; + purpose = { + creativity = true; + gaming = true; + laptop = true; + work = true; + }; + display = { + primary = "DSI-1"; + # rotate = { + # tty = 90; + # DSI-1 = 90; + # }; + }; + # sway.extraConfig = [ + # "input type:touch map_to_output DSI-1" + # ]; + hwmon = { + # file = "temp1_input"; + # path = "/sys/devices/platform/coretemp.0/hwmon"; + }; + amd = { + gpu.enable = true; + cpu = { + enable = true; + powersave = true; + }; + }; + }; +} diff --git a/host/x86_64-linux/pocket/default.nix b/host/x86_64-linux/pocket/default.nix index 6bf6f2f2..321255f7 100644 --- a/host/x86_64-linux/pocket/default.nix +++ b/host/x86_64-linux/pocket/default.nix @@ -1,4 +1,3 @@ -# GPD pocket-like machine. { ... }: { home.nixos.enable = true; user = {