citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

default.nix (933B)


      1 { config, pkgs, ... }:
      2 let
      3   url = "https://github.com/colemickens/nixpkgs-wayland/archive/master.tar.gz";
      4   waylandOverlay = (import (builtins.fetchTarball url));
      5 in
      6 {
      7     nixpkgs.overlays = [ waylandOverlay ];
      8     programs.sway.enable = true;
      9     programs.sway.extraPackages = with pkgs; [
     10       swayidle # used for controlling idle timeouts and triggers (screen locking, etc)
     11       swaylock # used for locking Wayland sessions
     12 
     13       grim     # screen image capture
     14       slurp    # screen are selection tool
     15       mako     # notification daemon
     16       oguri    # animated background utility
     17       kanshi   # dynamic display configuration helper
     18       redshift-wayland # patched to work with wayland gamma protocol
     19       rofi
     20       alacritty
     21     ];
     22 
     23     environment.systemPackages = with pkgs; [
     24       # other compositors/window-managers
     25       wayfire  # 3D wayland compositor
     26       waybox   # An openbox clone on Wayland
     27     ];
     28 }