mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
Compare commits
4 commits
cf0f8d11d0
...
c5d9a39ed5
Author | SHA1 | Date | |
---|---|---|---|
c5d9a39ed5 | |||
c57a59e38e | |||
7a8588174e | |||
a200739729 |
3 changed files with 24 additions and 15 deletions
|
@ -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 */ ''
|
||||
|
|
|
@ -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
|
||||
|
|
7
modules/common/unfree.nix
Normal file
7
modules/common/unfree.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue