Skip to content

Commit

Permalink
Testing madara for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 15, 2024
1 parent 83a7fab commit 8c2b0c3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 73 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@
# 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
Expand Down
94 changes: 26 additions & 68 deletions hosts/madara/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
# ];
# };
}

0 comments on commit 8c2b0c3

Please sign in to comment.