From 8c0630d671ac7aaf44a8da576c4412f57a42aea5 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 13 Jan 2025 11:20:42 +0300 Subject: [PATCH] Pocket: Remove host. --- host/x86_64-linux/pocket/Logind.nix | 5 ---- host/x86_64-linux/pocket/Network.nix | 9 ------- host/x86_64-linux/pocket/default.nix | 36 ---------------------------- 3 files changed, 50 deletions(-) delete mode 100644 host/x86_64-linux/pocket/Logind.nix delete mode 100644 host/x86_64-linux/pocket/Network.nix delete mode 100644 host/x86_64-linux/pocket/default.nix diff --git a/host/x86_64-linux/pocket/Logind.nix b/host/x86_64-linux/pocket/Logind.nix deleted file mode 100644 index cd139de..0000000 --- a/host/x86_64-linux/pocket/Logind.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: -{ - # Don't suspend on lid closed. - services.logind.lidSwitch = "ignore"; -} diff --git a/host/x86_64-linux/pocket/Network.nix b/host/x86_64-linux/pocket/Network.nix deleted file mode 100644 index 77d1e5a..0000000 --- a/host/x86_64-linux/pocket/Network.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ ... }: -{ - networking = { - firewall.extraCommands = '' - # Local access. - ip6tables -I INPUT -j ACCEPT -s fd09:8d46:0b26::/48 - ''; - }; -} diff --git a/host/x86_64-linux/pocket/default.nix b/host/x86_64-linux/pocket/default.nix deleted file mode 100644 index 508535a..0000000 --- a/host/x86_64-linux/pocket/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ ... }: -{ - home.nixos.enable = true; - user = { - root = true; - voronind = true; - }; - - module = { - builder.client.enable = true; - package.extra = true; - print.enable = true; - purpose = { - creative = 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"; - }; - intel.cpu = { - enable = true; - powersave = true; - }; - }; -}