From 1e3e886d91463ec7e6bd19001b1a70d9fd666f16 Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Sun, 15 Dec 2024 14:56:39 +0100 Subject: [PATCH] Testing madara for CI --- .github/workflows/check.yaml | 2 +- flake.nix | 2 +- hosts/madara/configuration.nix | 94 ++++++++++------------------------ 3 files changed, 28 insertions(+), 70 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index e3eec6f..dc07cce 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -13,7 +13,7 @@ jobs: check-flake: name: Check Flake Setup runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/flake.nix b/flake.nix index 3df6095..9329ada 100644 --- a/flake.nix +++ b/flake.nix @@ -125,7 +125,7 @@ "isshin" = "mirza"; # Framework Laptop AMD 7040 "zangetsu" = "mirza"; # Framework Case Intel 11th "yhwach" = "mirza"; # Tower PC - "kuchiki" = "mirza"; # New NAS Server + # "kuchiki" = "mirza"; # New NAS Server "yoruichi" = "mirza"; # Crappy AMD Mini PC "shinji" = "mirza"; # M720q Mini PC "kenpachi" = "mirza"; # S740 Mini PC diff --git a/hosts/madara/configuration.nix b/hosts/madara/configuration.nix index 8975314..e99f24a 100644 --- a/hosts/madara/configuration.nix +++ b/hosts/madara/configuration.nix @@ -25,75 +25,33 @@ in runners.YASF.enable = true; nfs.enable = true; - # Disable Autosuspend for USB Bluetooth dongles - # boot = { - # kernelModules = ["snd-hda-intel "]; - # extraModprobeConfig = '' - # options btusb enable_autosuspend=n - # ''; - # }; - - # Enable SSH Daemon - services = { - # openssh = { - # enable = true; - # # require public key authentication for better security - # #settings.PasswordAuthentication = false; - # #settings.KbdInteractiveAuthentication = false; - # #settings.PermitRootLogin = "yes"; - # }; - # xrdp = { - # enable = true; - # defaultWindowManager = "gnome-remote-desktop"; - # openFirewall = true; - # }; - gnome.gnome-remote-desktop.enable = true; - }; + # hardware = { + # # Make logitech devices work easier + # logitech.wireless = { + # enable = true; + # enableGraphical = true; + # }; - hardware = { - # Make logitech devices work easier - logitech.wireless = { - enable = true; - enableGraphical = true; - }; + # # Tweaks for keychron + # bluetooth = { + # enable = true; + # settings = { + # General = { + # FastConnect = true; + # Experimental = true; + # }; + # Policy = { + # ReconnectAttempts = 7; + # ReconnectIntervals = "1, 2, 3"; + # }; + # }; + # }; - # Tweaks for keychron - bluetooth = { - enable = true; - settings = { - General = { - FastConnect = true; - Experimental = true; - }; - Policy = { - ReconnectAttempts = 7; - ReconnectIntervals = "1, 2, 3"; - }; - }; - }; - - # OpenGL - # opengl = { - # enable = true; - # driSupport = true; - # driSupport32Bit = true; - # extraPackages = with pkgs; [ - # vulkan-loader - # vulkan-validation-layers - # vulkan-extension-layer - # ]; - # }; - }; - - systemd = { - tmpfiles.rules = [ - "L+ /run/gdm/.config/monitors.xml - - - - ${monitorsConfig}" - ]; + # }; - # services.NetworkManager-wait-online = { - # serviceConfig = { - # ExecStart = ["" "${pkgs.networkmanager}/bin/nm-online -q"]; - # }; - # }; - }; + # systemd = { + # tmpfiles.rules = [ + # "L+ /run/gdm/.config/monitors.xml - - - - ${monitorsConfig}" + # ]; + # }; }