Skip to content

Commit

Permalink
update readmes, update flake, move wsl to flake inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed May 3, 2023
1 parent a208070 commit c89f836
Show file tree
Hide file tree
Showing 11 changed files with 186 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/cfg.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ pkgs ? import
(fetchTarball {
name = "jpetrucciani-2023-04-26";
url = "https://github.com/jpetrucciani/nix/archive/5f01d3c72d7d2b003debb8d333d654f5a51c2403.tar.gz";
sha256 = "19kr4d49z54sf8z8llbdc720im07slb3128c0dpqc172hxrnpqwj";
name = "jpetrucciani-2023-05-02";
url = "https://github.com/jpetrucciani/nix/archive/a20807028f42fdc062d42227bd2e7c1c09ea37e1.tar.gz";
sha256 = "0asbkxf2gzrzmfj6296kkg2lc2bzzsn79nk0k4in84yai0nfc9h4";
})
{ }
}:
Expand Down
74 changes: 73 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
};
vscode-server.url = "github:msteen/nixos-vscode-server";
kwb.url = "github:kwbauson/cfg";
};
Expand Down
6 changes: 1 addition & 5 deletions hosts/milkyway/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{ lib, flake, machine-name, pkgs, config, modulesPath, ... }:
with lib;
let
nixos-wsl = (import (fetchTarball {
url = "https://github.com/nix-community/NixOS-WSL/archive/f3b6f6b04728416c64fc5ef52199fd9b9843c47d.tar.gz";
sha256 = "12lambwrd2s6jgi1b3vlfpmswf79l9g3hnjdq2ilgjshm5534a7v";
})).outputs;
hostname = "milkyway";
common = import ../common.nix { inherit config flake machine-name pkgs; };
cuda = pkgs.cudaPackages.cudatoolkit;
Expand All @@ -27,7 +23,7 @@ in
imports = [
"${common.home-manager}/nixos"
"${modulesPath}/profiles/minimal.nix"
nixos-wsl.nixosModules.wsl
flake.inputs.nixos-wsl.nixosModules.wsl
];

boot.tmp.useTmpfs = true;
Expand Down
18 changes: 15 additions & 3 deletions pkgs/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# pkgs

This directory contains nix packages that I've built that might not be yet ready for nixpkgs proper, or that don't make sense to open as a PR to nixpkgs proper.
This directory contains nix packages that I've built that might not be yet ready for nixpkgs proper, or that don't make sense to open as a PR to nixpkgs proper. They are included as the reference `.#custom`, and also are merged into the `pkgs` set.

---

## In this directory

### [falconn.nix](./falconn.nix)
### [ai/](./ai/)

This file contains a nix derivation for the [falconn library](https://github.com/FALCONN-LIB/FALCONN)
This directory contains packages that are related to the new wave of AI/LLM popularity!

### [cli/](./cli/)

### [cloud/](./cloud/)

### [k8s/](./k8s/)

### [lib/](./lib/)

### [misc/](./misc/)

### [server/](./server/)
17 changes: 17 additions & 0 deletions pkgs/cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# cli

TODO

---

## In this directory

### [bkt.nix](./bkt.nix)

### [comcast.nix](./comcast.nix)

### [dirdiff.nix](./dirdiff.nix)

### [lastresort.nix](./lastresort.nix)

### [tlsh-go.nix](./tlsh-go.nix)
21 changes: 21 additions & 0 deletions pkgs/cloud/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# cloud

TODO

---

## In this directory

### [coscli.nix](./coscli.nix)

### [gcsproxy.nix](./gcsproxy.nix)

### [gke-gcloud-auth-plugin.nix](./gke-gcloud-auth-plugin.nix)

### [goaws.nix](./goaws.nix)

### [gofakes3.nix](./gofakes3.nix)

### [s3-edit.nix](./s3-edit.nix)

### [terraform-cloud-exporter.nix](./terraform-cloud-exporter.nix)
11 changes: 11 additions & 0 deletions pkgs/k8s/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# k8s

TODO

---

## In this directory

### [kubeshark.nix](./kubeshark.nix)

### [murre.nix](./murre.nix)
11 changes: 11 additions & 0 deletions pkgs/lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# lib

TODO

---

## In this directory

### [falconn.nix](./falconn.nix)

TODO
19 changes: 19 additions & 0 deletions pkgs/misc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# misc

TODO

---

## In this directory

### [horcrux.nix](./horcrux.nix)

TODO

### [killport.nix](./killport.nix)

TODO

### [soulmsg.nix](./soulmsg.nix)

TODO
11 changes: 11 additions & 0 deletions pkgs/server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# server

TODO

---

## In this directory

### [poglets.nix](./poglets.nix)

TODO

0 comments on commit c89f836

Please sign in to comment.