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 20a3120
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 70 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
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"kuchiki" = "mirza"; # New NAS Server
"yoruichi" = "mirza"; # Crappy AMD Mini PC
"shinji" = "mirza"; # M720q Mini PC
"kenpachi" = "mirza"; # S740 Mini PC
# "kenpachi" = "mirza"; # S740 Mini PC
"narouter" = "mirza"; # Firewall
"aizen" = "mirza";
# Work
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}"
# ];
# };
}
2 changes: 2 additions & 0 deletions modules/nixos/system/nix-utils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
"pipe-operators"
];
extra-substituters = [
"https://nix-community.cachix.org"
"https://helix.cachix.org"
"https://wezterm.cachix.org"
];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
];
Expand Down

0 comments on commit 20a3120

Please sign in to comment.