tony / oxwm

Branch: 251382c
Switch branches/tags
master
tonybtw Added tag functionality, fixed issue where tag was killing windows, added alacritty to devshell, added options in just file 2eed31f 2025-10-03
31 lines · 609 B Raw Blame History
1 {
2 description = "oxwm devshell";
3
4 inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
5
6 outputs = {
7 self,
8 nixpkgs,
9 }: let
10 system = "x86_64-linux";
11 pkgs = import nixpkgs {inherit system;};
12 in {
13 devShells.${system}.default = pkgs.mkShell {
14 buildInputs = [
15 pkgs.rustc
16 pkgs.cargo
17 pkgs.xorg.xclock
18 pkgs.xterm
19 pkgs.alacritty
20 pkgs.just
21 ];
22 shellHook = ''
23 export PS1="(oxwm-dev) $PS1"
24 '';
25
26 RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
27 };
28
29 formatter.${system} = pkgs.alejandra;
30 };
31 }