Add package.nix and cleanup build process

This commit is contained in:
2026-07-07 12:09:06 +01:00
parent 2930d71889
commit 10e0de5b05
4 changed files with 88 additions and 7 deletions
+7 -2
View File
@@ -1,7 +1,7 @@
{
description = "kutu wm environment";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs = { self, nixpkgs }:
let
@@ -12,17 +12,22 @@
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
ruby
(ruby.withPackages (ps: [
ps.ffi
]))
gcc
pkg-config
xorg.libxcb
xorg.xcbutilwm
xorg.xrandr
xorg.xprop
];
shellHook = ''
echo "kutu dev shell"
'';
};
packages.${system}.default = pkgs.callPackage ./package.nix {};
};
}