mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-09-06 19:31:40 +02:00
Switch to niri - Episode 2: The (first?) purge
This commit is contained in:
parent
f28ec1ae8f
commit
c2ebb8d760
54 changed files with 192 additions and 83206 deletions
28
modules/desktop-environment/home/layaway.nix
Normal file
28
modules/desktop-environment/home/layaway.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
# stolen: https://github.com/MultisampledNight/core/blob/678f176cb24f5dc4b5dc629cfd3e643487be01bb/system/packages/layaway/default.nix#L7-L25
|
||||
layaway = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "layaway";
|
||||
version = "0.2.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "MultisampledNight";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SzAuVFEy56svasO3+1p6ysBRrIQd0UZX++/P4ZuwWm0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-liWP6AI72xG1O+MbCZ0cjJ2llHj/iv3hR/U3BLv5fKA=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Layout creation for Sway via a relative and human-readable DSL.";
|
||||
homepage = "https://github.com/MultisampledNight/layaway";
|
||||
maintainers = [maintainers.multisn8];
|
||||
};
|
||||
};
|
||||
in {
|
||||
home.packages = [layaway];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue