imnyang/nix-flakes
Watch
1
0
Fork
You've already forked nix-flakes
0
This commit is contained in:
암냥 2026-10-13 07:30:42 +09:00
commit 8593aae296
5 changed files with 1419 additions and 12 deletions

View file

@ -1,5 +1,8 @@
# darwin-configuration.nix
{ inputs, pkgs, ... }:
let
nixcordPackages = inputs.nixcord.packages.${pkgs.stdenv.hostPlatform.system};
in
{
imports = [ inputs.nixcord.darwinModules.nixcord ];
@ -8,7 +11,7 @@
user = "imnyang"; # Needed for system-level config
discord = {
package = pkgs.discord-canary;
package = nixcordPackages.discord-canary;
equicord.enable = true;
branches = [ "canary" ];
};

View file

@ -43,7 +43,10 @@ in
"github.com/RussellLuo/caddy-ext/ratelimit@v0.3.0"
"github.com/neodyme-labs/user_agent_parse@v0.0.1"
];
hash = "sha256-sh5R+MqWfzYJ6GTRHW0rmnz1D5l91ULaSyupcGvEatA=";
hash = {
"x86_64-linux" = "sha256-r4MgRk8HpKYx7f8FmA3PKgD/5ZNTIHpQvlE+zRbP0lw=";
"aarch64-linux" = "sha256-AfCiPSLCrZeKRJV6CRE6ps96lyinbgxaVnEpwLXPHMk=";
}.${pkgs.stdenv.hostPlatform.system};
};
globalConfig = ''
admin unix//run/caddy/admin.socket