summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-10-31 11:06:23 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2024-10-31 11:06:23 +0100
commit56d9bbd9171edac8a2253a1f6fcf1338f31cc07e (patch)
treefda87b2bc0343ba431315edeca3b910136b8243c
parent76272198d8b86cc90e1a3d4dedd1df71fe92f90e (diff)
format nixedo default
-rw-r--r--hosts/nixedo/default.nix129
1 files 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";
}