From 48312989baadd58206c6d5c717874475a183db27 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 | 12 ++--- hosts/madara/configuration.nix | 94 ++++++++++------------------------ 3 files changed, 33 insertions(+), 75 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..7ab40b9 100644 --- a/flake.nix +++ b/flake.nix @@ -124,16 +124,16 @@ # Personal "isshin" = "mirza"; # Framework Laptop AMD 7040 "zangetsu" = "mirza"; # Framework Case Intel 11th - "yhwach" = "mirza"; # Tower PC - "kuchiki" = "mirza"; # New NAS Server + # "yhwach" = "mirza"; # Tower PC + # "kuchiki" = "mirza"; # New NAS Server "yoruichi" = "mirza"; # Crappy AMD Mini PC "shinji" = "mirza"; # M720q Mini PC - "kenpachi" = "mirza"; # S740 Mini PC - "narouter" = "mirza"; # Firewall + # "kenpachi" = "mirza"; # S740 Mini PC + # "narouter" = "mirza"; # Firewall "aizen" = "mirza"; # Work - "kyuubi" = "mar"; # Crappy Work PC - "madara" = "mar"; # Nice Work PC + # "kyuubi" = "mar"; # Crappy Work PC + # "madara" = "mar"; # Nice Work PC }; in { 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}" + # ]; + # }; }