Skip to content

kubek2k/chunkwm.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chunkwm nix expression

Nix expression to install chunkwm on darwin nix environment.

Installation

To use it you need to add this to your darwin nix configuration (somewhere along the lines of ~/.nixpkgs/darwin-configuration.nix):

let 
    overlays = self: super: rec {
        ...
        chunkwm = super.recurseIntoAttrs (super.callPackage (super.fetchFromGitHub {
          owner = "kubek2k";
          repo = "chunkwm.nix";
          sha256 = "11fwr29q18x4349wdg1pd7wqd1wvxsib6mjz7c93slf40h88vd53";
          rev = "0.1";
        }) {
          inherit (super.darwin.apple_sdk.frameworks) Carbon Cocoa ApplicationServices;
        });
        ...
      };
in
   ...
   nixpkgs.overlays = [ overlays ];
   services.chunkwm.enable = true;
   services.chunkwm.package = chunkwm.core;
   services.chunkwm.plugins.dir = "/run/current-system/sw/bin/chunkwm-plugins/";
   ...

License

Distributed in hope to be useful under CC0 1.0 Universal.

About

nix expression to build chunkwm

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages