Experimenting with monorepo stuff

This commit is contained in:
Daniel Flanagan 2024-04-11 10:19:24 -05:00
parent 91e9d48c82
commit 8226b5bc00
6 changed files with 68 additions and 2 deletions

View file

@ -1,8 +1,9 @@
{pkgs, ...}: {
environment = {
systemPackages = with pkgs; [
wine
wineWowPackages.waylandFull
lutris
winetricks
];
};
}

View file

@ -24,7 +24,7 @@
wifi
# hyprland
printing
# melee
melee
steam
lutris
];

1
projects/chatbot/.envrc Normal file
View file

@ -0,0 +1 @@
use flake

2
projects/chatbot/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/target
/.direnv

View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1712608508,
"narHash": "sha256-vMZ5603yU0wxgyQeHJryOI+O61yrX2AHwY6LOFyV1gM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -0,0 +1,35 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = {
self,
nixpkgs,
}: let
inherit (self) outputs;
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forEachSupportedSystem = nixpkgs.lib.genAttrs supportedSystems;
in {
devShells = forEachSupportedSystem (system: let
pkgs = import nixpkgs {inherit system;};
in {
rust-dev = pkgs.mkShell {
buildInputs = with pkgs; [
cargo
rustc
rustfmt
rustPackages.clippy
rust-analyzer
lldb
pkg-config
];
};
default = outputs.devShells.${system}.rust-dev;
});
};
}