tony / oxwm

Branch: 46b3ba6
Switch branches/tags
master
emzywastaken specify nix formatter as alejandra 46b3ba6 2025-09-24
28 lines · 532 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.xorgserver
18 pkgs.xterm
19 pkgs.just
20 ];
21 shellHook = ''
22 export PS1="(oxwm-dev) $PS1"
23 '';
24 };
25
26 formatter.${system} = pkgs.alejandra;
27 };
28 }