diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-19 15:48:45 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-19 15:48:45 +0200 |
| commit | 592518fa04638a22b1714b42ba33d45172ed9676 (patch) | |
| tree | 94c36c42cccecaf3b147fc1fa274ab66754cc92b /hosts/workstation/default.nix | |
| parent | c21ae620a8f0a9612bcfa6b952e1f5da99d4d753 (diff) | |
add workstation config
Diffstat (limited to 'hosts/workstation/default.nix')
| -rw-r--r-- | hosts/workstation/default.nix | 49 |
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"; +} |