Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into turn-server
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Mar 20, 2024
2 parents c90b58e + 3082865 commit 67c8ce6
Show file tree
Hide file tree
Showing 22 changed files with 5 additions and 65 deletions.
7 changes: 0 additions & 7 deletions modules/flake-parts/_template.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
# System independent arguments.
self,
lib,
inputs,
...
}: {
perSystem = {
# Arguments specific to the `perSystem` context.
config,
self',
inputs',
pkgs,
...
}: {
# system specific outputs like, apps, checks, packages
Expand Down
1 change: 0 additions & 1 deletion modules/flake-parts/apps.ssh-/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
}: {
perSystem = {pkgs, ...}: let
mkSsh = {
attrName,
hostName,
deployUser,
}:
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/darwinConfigurations.macos-01/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
self,
lib,
inputs,
config,
...
}: let
system = "aarch64-darwin";
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/darwinConfigurations.macos-02/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
self,
lib,
inputs,
config,
...
}: let
system = "x86_64-darwin";
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/darwinConfigurations.macos-03/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
self,
lib,
inputs,
config,
...
}: let
system = "aarch64-darwin";
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/darwinConfigurations.macos-04/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
self,
lib,
inputs,
config,
...
}: let
system = "aarch64-darwin";
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/darwinConfigurations.macos-05/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
self,
lib,
inputs,
config,
...
}: let
system = "aarch64-darwin";
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/darwinConfigurations.macos-06/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
self,
lib,
inputs,
config,
...
}: let
system = "x86_64-darwin";
Expand Down
14 changes: 2 additions & 12 deletions modules/flake-parts/formatter.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
self,
lib,
...
}: {
perSystem = {
config,
self',
inputs',
pkgs,
...
}: {
{...}: {
perSystem = {pkgs, ...}: {
# define formatter used by `nix fmt`
formatter = pkgs.alejandra;
};
Expand Down
2 changes: 0 additions & 2 deletions modules/flake-parts/microvms.nix-cache/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
name,
self,
config,
lib,
pkgs,
...
}: let
Expand Down
7 changes: 1 addition & 6 deletions modules/flake-parts/microvms.nix-cache/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ in {
# Include the microvm module
inputs.microvm.nixosModules.microvm
# Add more modules here
({
config,
lib,
pkgs,
...
}: {
({config, ...}: {
microvm.mem = 1024 * 8;
microvm.vcpu = 4;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
self,
lib,
inputs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
config,
lib,
inputs,
self,
pkgs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
self,
lib,
inputs,
Expand Down
8 changes: 0 additions & 8 deletions modules/flake-parts/packages.default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
{
# System independent arguments.
self,
lib,
inputs,
inputs',
...
}: {
perSystem = {
# Arguments specific to the `perSystem` context.
config,
self',
inputs',
pkgs,
system,
...
}: {
# system specific outputs like, apps, checks, packages
Expand Down
2 changes: 0 additions & 2 deletions modules/nixos/cachix-watch.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
inputs,
pkgs,
config,
lib,
magicPaths,
...
}: {
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/github-runner-multi-arch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
self,
config,
lib,
magicPaths,
pkgs,
...
}: let
Expand Down
6 changes: 1 addition & 5 deletions modules/nixos/holo-deploy.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
config,
lib,
...
}: {
{lib, ...}: {
options = {
deployUser = lib.mkOption {
type = lib.types.str;
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/macos-remote-builder.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
lib,
pkgs,
...
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/macos.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
inputs,
config,
pkgs,
lib,
...
}: {
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/shared-nix-settings.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
pkgs,
lib,
...
Expand Down
4 changes: 1 addition & 3 deletions modules/nixos/shared.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
config,
pkgs,
lib,
system,
...
}: let
in {
}: {
# Nix configuration shared between all hosts

imports =
Expand Down

0 comments on commit 67c8ce6

Please sign in to comment.