Experimenting with monorepo stuff
This commit is contained in:
parent
91e9d48c82
commit
8226b5bc00
6 changed files with 68 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
wine
|
||||
wineWowPackages.waylandFull
|
||||
lutris
|
||||
winetricks
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
wifi
|
||||
# hyprland
|
||||
printing
|
||||
# melee
|
||||
melee
|
||||
steam
|
||||
lutris
|
||||
];
|
||||
|
|
1
projects/chatbot/.envrc
Normal file
1
projects/chatbot/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
2
projects/chatbot/.gitignore
vendored
Normal file
2
projects/chatbot/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/target
|
||||
/.direnv
|
27
projects/chatbot/flake.lock
Normal file
27
projects/chatbot/flake.lock
Normal 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
|
||||
}
|
35
projects/chatbot/flake.nix
Normal file
35
projects/chatbot/flake.nix
Normal 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;
|
||||
});
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue