diff --git a/modules/nixos/lutris.nix b/modules/nixos/lutris.nix index 5237040..6eb07d0 100644 --- a/modules/nixos/lutris.nix +++ b/modules/nixos/lutris.nix @@ -1,8 +1,9 @@ {pkgs, ...}: { environment = { systemPackages = with pkgs; [ - wine + wineWowPackages.waylandFull lutris + winetricks ]; }; } diff --git a/nixos/dragon.nix b/nixos/dragon.nix index 788f874..3ad81ea 100644 --- a/nixos/dragon.nix +++ b/nixos/dragon.nix @@ -24,7 +24,7 @@ wifi # hyprland printing - # melee + melee steam lutris ]; diff --git a/projects/chatbot/.envrc b/projects/chatbot/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/projects/chatbot/.envrc @@ -0,0 +1 @@ +use flake diff --git a/projects/chatbot/.gitignore b/projects/chatbot/.gitignore new file mode 100644 index 0000000..6abfe1b --- /dev/null +++ b/projects/chatbot/.gitignore @@ -0,0 +1,2 @@ +/target +/.direnv diff --git a/projects/chatbot/flake.lock b/projects/chatbot/flake.lock new file mode 100644 index 0000000..f01c2b9 --- /dev/null +++ b/projects/chatbot/flake.lock @@ -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 +} diff --git a/projects/chatbot/flake.nix b/projects/chatbot/flake.nix new file mode 100644 index 0000000..be6b512 --- /dev/null +++ b/projects/chatbot/flake.nix @@ -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; + }); + }; +}