mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-30 00:18:44 +01:00
add layaway
This commit is contained in:
parent
7da65291bb
commit
6f45268150
|
@ -3,10 +3,32 @@
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: 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 {
|
||||||
programs.wofi.enable = true;
|
programs.wofi.enable = true;
|
||||||
programs.swaylock.enable = true;
|
programs.swaylock.enable = true;
|
||||||
services.network-manager-applet.enable = true;
|
services.network-manager-applet.enable = true;
|
||||||
|
home.packages = [layaway];
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue