1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 12:07:48 +00:00

Compare commits

...

4 commits

3 changed files with 24 additions and 15 deletions

View file

@ -6,20 +6,20 @@ in {
shellAliases.x = "hx";
};
nixpkgs.overlays = [(self: super: {
helix = super.helix.overrideAttrs (old: {
src = self.fetchzip {
url = "https://github.com/cull-os/helix/releases/download/ci-release-25.01.1/helix-ci-release-25.01.1-source.tar.xz";
hash = "sha256-bvlzXRAdPvz8P49KENSw9gupQNaUm/+3eZZ1q7+fTsw=";
stripRoot = false;
};
# nixpkgs.overlays = [(self: super: {
# helix = super.helix.overrideAttrs (old: {
# src = self.fetchzip {
# url = "https://github.com/cull-os/helix/releases/download/ci-release-25.01.1/helix-ci-release-25.01.1-source.tar.xz";
# hash = "sha256-bvlzXRAdPvz8P49KENSw9gupQNaUm/+3eZZ1q7+fTsw=";
# stripRoot = false;
# };
cargoDeps = self.rustPlatform.fetchCargoVendor {
inherit (self.helix) src;
hash = "sha256-soOnSRvWO7OzxYENFUBGmgSAk1Oy9Av+wDDLKkcuIbs=";
};
});
})];
# cargoDeps = self.rustPlatform.fetchCargoVendor {
# inherit (self.helix) src;
# hash = "sha256-soOnSRvWO7OzxYENFUBGmgSAk1Oy9Av+wDDLKkcuIbs=";
# };
# });
# })];
home-manager.sharedModules = [{
programs.nushell.configFile.text = mkIf /*(*/config.isDesktop/* && config.isLinux)*/ <| mkAfter /* nu */ ''

View file

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }: let
inherit (lib) attrValues optionalAttrs;
in {
unfree.allowedNames = [ "claude-code" ];
environment.systemPackages = attrValues <| {
inherit (pkgs)
asciinema
@ -35,14 +37,14 @@ in {
;
} // optionalAttrs config.isDesktop {
inherit (pkgs)
claude-code
clang_16
clang-tools_16
deno
gh
go
jdk
lld
maven
zig
qbittorrent

View file

@ -0,0 +1,7 @@
{ config, lib, ... }: let
inherit (lib) mkValue;
in {
options.unfree.allowedNames = mkValue [];
config.nixpkgs.config.allowUnfreePredicate = package: lib.elem package.pname config.unfree.allowedNames;
}