From 56d9bbd9171edac8a2253a1f6fcf1338f31cc07e Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 31 Oct 2024 11:06:23 +0100 Subject: format nixedo default --- hosts/nixedo/default.nix | 129 ++++++++++++++++++++++++----------------------- 1 file changed, 65 insertions(+), 64 deletions(-) diff --git a/hosts/nixedo/default.nix b/hosts/nixedo/default.nix index 6f2dada..94b253a 100644 --- a/hosts/nixedo/default.nix +++ b/hosts/nixedo/default.nix @@ -1,77 +1,78 @@ { lib, pkgs, ... }: { - imports = [ - ./hardware.nix - ../../modules/hyprland/monitor.nix - ../../modules/usbauth/default.nix - ]; + imports = [ + ./hardware.nix + ../../modules/hyprland/monitor.nix + ../../modules/usbauth/default.nix + ]; - networking.hostName = "nixedo"; + networking.hostName = "nixedo"; - boot.loader = { - efi.canTouchEfiVariables = true; - grub = { - enable = true; - device = "nodev"; - efiSupport = true; - }; - }; + boot.loader = { + efi.canTouchEfiVariables = true; + grub = { + enable = true; + device = "nodev"; + efiSupport = true; + configurationLimit = 10; + }; + }; - hyprland.monitors = { - default = { - resolution = "preferred"; - position = "auto"; - scale = 1; - }; + hyprland.monitors = { + default = { + resolution = "preferred"; + position = "auto"; + scale = 1; + }; - eDP-1 = { - resolution = "preferred"; - position = "auto"; - scale = 1; - bar.enable = true; - }; - }; + eDP-1 = { + resolution = "preferred"; + position = "auto"; + scale = 1; + bar.enable = true; + }; + }; - webtray.instances = { - element = { - url = "https://chat.nathanreiner.xyz"; - autoStart = true; - openInWindow = false; - }; - syncthing-tray = { - url = "http://localhost:8384"; - autoStart = true; - openInWindow = false; - }; - }; + 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-tuxedo"; - }; + usbauth = { + enable = true; + device = "root"; + uuid = "543f281c-4feb-4a5a-b51b-99114fa4b8a1"; + keyname = "n8-tuxedo"; + }; - networking.networkmanager.fccUnlockScripts = [ - { - id = "105b:e0ab"; - path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/105b:e0ab"; - } - ]; + networking.networkmanager.fccUnlockScripts = [ + { + id = "105b:e0ab"; + path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/105b:e0ab"; + } + ]; - systemd.services.ModemManager = { - enable = lib.mkForce true; - path = [ pkgs.libqmi ]; - wantedBy = [ - "multi-user.target" - "network.target" - ]; - }; + systemd.services.ModemManager = { + enable = lib.mkForce true; + path = [ pkgs.libqmi ]; + wantedBy = [ + "multi-user.target" + "network.target" + ]; + }; - hardware.tuxedo-rs = { - enable = true; - tailor-gui.enable = true; - }; + hardware.tuxedo-rs = { + enable = true; + tailor-gui.enable = true; + }; - system.stateVersion = "24.05"; + system.stateVersion = "24.05"; } -- cgit v1.2.3-70-g09d2