Skip to content

Commit

Permalink
chore(pkg,module): sync flake; added raycast and rename dev to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Sep 16, 2024
1 parent ccbb6fc commit a848ddb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 30 deletions.
12 changes: 6 additions & 6 deletions flake.lock

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

30 changes: 8 additions & 22 deletions modules/pkgs.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ pkgs, ... }:
let
shared = with pkgs; [
utils = with pkgs; [
just
bat
zoxide
Expand All @@ -14,8 +14,6 @@ let

fastfetch
neovim

bash-language-server
];

darwin =
Expand All @@ -24,8 +22,11 @@ let
[
arc-browser
wezterm
raycast

frameworks.Security
frameworks.CoreFoundation

(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];

Expand All @@ -35,29 +36,14 @@ let
clang
stylua
nixfmt-rfc-style

nil
lua-language-server
]
++ (import ./dev.nix { pkgs = pkgs; });

server =
with pkgs;
with pkgs.nodePackages_latest;
[
yazi
tmux
bun

docker-compose

nodejs_22
pnpm
bash-language-server
typescript-language-server
];

]
++ (import ./rust.nix { pkgs = pkgs; });
in
{
home.packages = shared ++ development ++ (if pkgs.stdenv.isDarwin then darwin else server);
home.packages = utils ++ development ++ darwin;

}
3 changes: 1 addition & 2 deletions modules/dev.nix → modules/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ with pkgs;
[
rustup
cargo-watch

go
cargo-generate
]

0 comments on commit a848ddb

Please sign in to comment.