summaryrefslogtreecommitdiff
path: root/hosts/workstation/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/workstation/default.nix')
-rw-r--r--hosts/workstation/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix
new file mode 100644
index 0000000..3b11993
--- /dev/null
+++ b/hosts/workstation/default.nix
@@ -0,0 +1,49 @@
+{ lib, pkgs, ... }:
+{
+ imports = [
+ ./hardware.nix
+ ../../modules/hyprland/monitor.nix
+ ../../modules/usbauth/default.nix
+ ];
+
+ networking.hostName = "workstation";
+
+ boot.loader = {
+ efi.canTouchEfiVariables = true;
+ grub = {
+ enable = true;
+ device = "nodev";
+ efiSupport = true;
+ };
+ };
+
+ hyprland.monitors = {
+ default = {
+ resolution = "preferred";
+ position = "auto";
+ scale = 1;
+ };
+ };
+
+ webtray.instances = {
+ element = {
+ url = "https://chat.nathanreiner.xyz";
+ autoStart = true;
+ openInWindow = false;
+ };
+ syncthing-tray = {
+ url = "http://localhost:8384";
+ autoStart = true;
+ openInWindow = false;
+ };
+ };
+
+ usbauth = {
+ enable = true;
+ device = "root";
+ uuid = "543f281c-4feb-4a5a-b51b-99114fa4b8a1";
+ keyname = "n8";
+ };
+
+ system.stateVersion = "24.05";
+}