- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
{ | |
description = "Flake used to setup development environment for Zephyr"; | |
# Nixpkgs / NixOS version to use. | |
inputs.nixpkgs.url = "nixpkgs/nixos-21.11"; | |
# mach-nix used to create derivation for Python dependencies in the requirements.txt files | |
inputs.mach-nix.url = "mach-nix/3.5.0"; | |
outputs = { self, nixpkgs, mach-nix }: |
{ lib, pkgs, config, ... }: | |
let | |
cfg = config.services.nixos-rollback; | |
get-system-generation = pkgs.writeShellScriptBin "get-system-generation" '' | |
#!${pkgs.stdenv.shell} | |
set -euo pipefail | |
/var/run/current-system/sw/bin/nix-env --list-generations --profile /nix/var/nix/profiles/system | ${pkgs.gnugrep}/bin/grep current | ${pkgs.gawk}/bin/awk '{print $1}' |