Compare commits
No commits in common. "aa26fcd6111380896b7598cbb1a991a6c8f4da82" and "befcf0348e63ded14d12eb81b21652d7fbaa9f59" have entirely different histories.
aa26fcd611
...
befcf0348e
|
@ -128,11 +128,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699291058,
|
"lastModified": 1696983906,
|
||||||
"narHash": "sha256-5ggduoaAMPHUy4riL+OrlAZE14Kh7JWX4oLEs22ZqfU=",
|
"narHash": "sha256-L7GyeErguS7Pg4h8nK0wGlcUTbfUMDu+HMf1UcyP72k=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "41de143fda10e33be0f47eab2bfe08a50f234267",
|
"rev": "bd1cde45c77891214131cbbea5b1203e485a9d51",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -89,14 +89,7 @@
|
||||||
[
|
[
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModules.default
|
home-manager.nixosModules.default
|
||||||
{
|
{nixpkgs.overlays = shared_overlays;}
|
||||||
nixpkgs = {
|
|
||||||
overlays = shared_overlays;
|
|
||||||
config.permittedInsecurePackages = [
|
|
||||||
"zotero-6.0.26"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
++ (nixpkgs.lib.attrValues self.nixosModules);
|
++ (nixpkgs.lib.attrValues self.nixosModules);
|
||||||
in {
|
in {
|
||||||
|
|
37
overlays/chrysalis/default.nix
Normal file
37
overlays/chrysalis/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
final: prev: {
|
||||||
|
chrysalis = let
|
||||||
|
pname = "chrysalis";
|
||||||
|
version = "0.12.0";
|
||||||
|
name = "${pname}-${version}-binary";
|
||||||
|
in
|
||||||
|
prev.appimageTools.wrapAppImage rec {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = prev.appimageTools.extract {
|
||||||
|
inherit name;
|
||||||
|
src = prev.fetchurl {
|
||||||
|
url = "https://github.com/keyboardio/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
|
||||||
|
sha256 = "sha256-sQoEO1UII4Gbp7UbHCCyejsd94lkBbi93TH325EamFc=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
multiPkgs = null;
|
||||||
|
extraPkgs = p:
|
||||||
|
(prev.appimageTools.defaultFhsEnvArgs.multiPkgs p)
|
||||||
|
++ [
|
||||||
|
p.glib
|
||||||
|
];
|
||||||
|
|
||||||
|
# Also expose the udev rules here, so it can be used as:
|
||||||
|
# services.udev.packages = [ pkgs.chrysalis ];
|
||||||
|
# to allow non-root modifications to the keyboards.
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${name} $out/bin/${pname}
|
||||||
|
mkdir -p $out/lib/udev/rules.d
|
||||||
|
ln -s \
|
||||||
|
--target-directory=$out/lib/udev/rules.d \
|
||||||
|
${src}/resources/static/udev/60-kaleidoscope.rules
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
|
chrysalis = import ./chrysalis;
|
||||||
hugin = import ./hugin;
|
hugin = import ./hugin;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue