Merge pull request 'update and add emily symbols and modifiers' (#126) from update-flake into main

Reviewed-on: #126
This commit is contained in:
Charlotte 🦝 Delenk 2023-07-06 10:11:57 +00:00
commit 5597dfa4bf
Signed by: gitea-bot
GPG key ID: C9974EDF9932B558
4 changed files with 70 additions and 50 deletions

View file

@ -3,6 +3,8 @@
pkgs, pkgs,
system, system,
nix-packages, nix-packages,
emily-modifiers,
emily-symbols,
... ...
}: let }: let
inherit (pkgs) plover plover-plugins-manager plover-plugin-emoji plover-plugin-tapey-tape plover-plugin-yaml-dictionary plover-plugin-rkb1-hid; inherit (pkgs) plover plover-plugins-manager plover-plugin-emoji plover-plugin-tapey-tape plover-plugin-yaml-dictionary plover-plugin-rkb1-hid;
@ -18,6 +20,14 @@
enabled = true; enabled = true;
path = ../../extra/user.yaml; path = ../../extra/user.yaml;
} }
{
enabled = true;
path = "${emily-modifiers}/emily-modifiers.py";
}
{
enabled = true;
path = "${emily-symbols}/emily-modifiers.py";
}
] ]
++ (map (module: { ++ (map (module: {
enabled = true; enabled = true;
@ -67,15 +77,4 @@ in {
$DRY_RUN_CMD cp $VERBOSE_ARG ${plover-cfg} $HOME/.config/plover/plover.cfg $DRY_RUN_CMD cp $VERBOSE_ARG ${plover-cfg} $HOME/.config/plover/plover.cfg
$DRY_RUN_CMD chmod +w $VERBOSE_ARG $HOME/.config/plover/plover.cfg $DRY_RUN_CMD chmod +w $VERBOSE_ARG $HOME/.config/plover/plover.cfg
''; '';
systemd.user.services.plover = {
Unit = {
Description = "plover";
After = ["graphical-session-pre.target"];
PartOf = ["graphical-session.target"];
};
Install.WantedBy = ["graphical-session.target"];
Service = {
ExecStart = "${plover-env}/bin/plover";
};
};
} }

View file

@ -13,7 +13,7 @@
${pkgs.curl}/bin/curl -H "Authorization: Bearer $access_key" -X POST "https://api.bunny.net/purge?url=$url&async=false" ${pkgs.curl}/bin/curl -H "Authorization: Bearer $access_key" -X POST "https://api.bunny.net/purge?url=$url&async=false"
done done
''; '';
emoji_set_names = ["volpeon-blobfox-flip" "volpeon-blobfox" "volpeon-bunhd-flip" "volpeon-bunhd" "volpeon-drgn" "volpeon-fox" "volpeon-raccoon" "volpeon-vlpn" "lotte" "caro"]; emoji_set_names = ["volpeon-blobfox-flip" "volpeon-blobfox" "volpeon-bunhd-flip" "volpeon-bunhd" "volpeon-drgn" "volpeon-fox" "volpeon-raccoon" "volpeon-vlpn" "lotte" "caro" "volpeon-neofox"];
emoji_sets = builtins.listToAttrs (map (name: { emoji_sets = builtins.listToAttrs (map (name: {
inherit name; inherit name;
value = "${pkgs."emoji-${name}"}"; value = "${pkgs."emoji-${name}"}";

View file

@ -528,6 +528,38 @@
"type": "github" "type": "github"
} }
}, },
"emily-modifiers": {
"flake": false,
"locked": {
"lastModified": 1627979543,
"narHash": "sha256-6fd7JMNvFLEljLGf35pj/e06WqNAT+qIHsOb90ZL+m0=",
"owner": "EPLHREU",
"repo": "emily-modifiers",
"rev": "0dae8085c2cbcb30e4dc0a44e74354acf7978d06",
"type": "github"
},
"original": {
"owner": "EPLHREU",
"repo": "emily-modifiers",
"type": "github"
}
},
"emily-symbols": {
"flake": false,
"locked": {
"lastModified": 1630434755,
"narHash": "sha256-cGVWcBerMu9B88liHte3fOcUDa3TZQIdVgcdUIbWGEc=",
"owner": "EPLHREU",
"repo": "emily-symbols",
"rev": "4935106154855a08a65186b01d19d8e19bded8fe",
"type": "github"
},
"original": {
"owner": "EPLHREU",
"repo": "emily-symbols",
"type": "github"
}
},
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -846,11 +878,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1688538658, "lastModified": 1688552611,
"narHash": "sha256-clmdd/NB9jqhuB9TlSyj9nI1dW2rqroPQCsHGYfD1jU=", "narHash": "sha256-pV/1/AU1l5CNFeKmdJ1jofcaKHhtKAbxY4gazeCyoSo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2f78e6fcba61ce81536d19e6c662e55ab272d539", "rev": "b23c7501f7e0a001486c9a5555a6c53ac7b08e85",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1167,11 +1199,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1688538768, "lastModified": 1688631187,
"narHash": "sha256-VTQtGq0JJfTqzHDj90KP30U9JM82xAXvmqMzljoabPg=", "narHash": "sha256-v8PBx1ZLP0XMveIsI8sVli3mt0geEUliBPt3QF3eFdg=",
"ref": "main", "ref": "main",
"rev": "2b545b653cc72bc873e556b55da28e9d8b3b4f5a", "rev": "9f5e0a98df845547c37b07eccf79c00bac8eddf3",
"revCount": 935, "revCount": 937,
"type": "git", "type": "git",
"url": "https://git.chir.rs/darkkirb/nix-packages.git" "url": "https://git.chir.rs/darkkirb/nix-packages.git"
}, },
@ -1422,11 +1454,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1688538453, "lastModified": 1688630341,
"narHash": "sha256-vki/B5J0XgqEXq+K1OYcr4T8RDZ9E67Ph6odG6fIEjc=", "narHash": "sha256-trdbPVqcU/jJLf9V6yxQeFyGf0L32yznsc0OQEQf1Fc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a7fcb2ed122004a1d7677196da1497c43eb1eedf", "rev": "dd05cbb4bd2d408c75725c241da6a41b6a28450a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1452,11 +1484,11 @@
}, },
"nur_2": { "nur_2": {
"locked": { "locked": {
"lastModified": 1688538499, "lastModified": 1688629594,
"narHash": "sha256-w1YeJb1E1pMis/4GgSFEA4+XCK2a6lcqMjb7cQpjTUU=", "narHash": "sha256-7dpUsrydgVjkribOriZDqcdbt8Y7Ma0ClF7usu9C3fQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "beae51d0fb37c31127965c5699b1b08ae8e44c55", "rev": "93cbcca5a419225a6e516bbaa1b607ecb7ac96fa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1474,6 +1506,8 @@
"crane": "crane", "crane": "crane",
"dns": "dns", "dns": "dns",
"emanote": "emanote", "emanote": "emanote",
"emily-modifiers": "emily-modifiers",
"emily-symbols": "emily-symbols",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"haskell-flake": "haskell-flake", "haskell-flake": "haskell-flake",
@ -1488,8 +1522,7 @@
"nixpkgs-for-crane": "nixpkgs-for-crane_2", "nixpkgs-for-crane": "nixpkgs-for-crane_2",
"nur": "nur_2", "nur": "nur_2",
"rust-overlay": "rust-overlay_2", "rust-overlay": "rust-overlay_2",
"sops-nix": "sops-nix_2", "sops-nix": "sops-nix_2"
"tomlplusplus": "tomlplusplus_2"
} }
}, },
"rust-overlay": { "rust-overlay": {
@ -1527,11 +1560,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1688524421, "lastModified": 1688610886,
"narHash": "sha256-EFauqXKKjbJKPWv3kbzl1lm1GnXl0+DBK4RcLuFndZQ=", "narHash": "sha256-Ir5FaBvhBtZ5OGZ3g9rgy4twUcEnyuGEz4QLmxAn9FE=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "ab050286f18ea354bfe7a49ca8ddcbd633cae1ca", "rev": "358d7155300cd64357f9afd14aa3383c2323e5fc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1634,22 +1667,6 @@
"type": "github" "type": "github"
} }
}, },
"tomlplusplus_2": {
"flake": false,
"locked": {
"lastModified": 1686746673,
"narHash": "sha256-klbvLhbtq6/h2sd/5ldd5GSgKRd9qKx0Ldis/L5g4zM=",
"owner": "marzer",
"repo": "tomlplusplus",
"rev": "4a28c36c435d813ddbd39a9a48a79d8c862c547f",
"type": "github"
},
"original": {
"owner": "marzer",
"repo": "tomlplusplus",
"type": "github"
}
},
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [

View file

@ -47,6 +47,14 @@ rec {
inputs.haskell-flake.follows = "haskell-flake"; inputs.haskell-flake.follows = "haskell-flake";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
emily-modifiers = {
url = "github:EPLHREU/emily-modifiers";
flake = false;
};
emily-symbols = {
url = "github:EPLHREU/emily-symbols";
flake = false;
};
flake-parts = { flake-parts = {
url = "github:hercules-ci/flake-parts"; url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs"; inputs.nixpkgs-lib.follows = "nixpkgs";
@ -93,10 +101,6 @@ rec {
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs"; inputs.nixpkgs-stable.follows = "nixpkgs";
}; };
tomlplusplus = {
url = "github:marzer/tomlplusplus";
flake = false;
};
}; };
outputs = { outputs = {