mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +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";
|
shellAliases.x = "hx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [(self: super: {
|
# nixpkgs.overlays = [(self: super: {
|
||||||
helix = super.helix.overrideAttrs (old: {
|
# helix = super.helix.overrideAttrs (old: {
|
||||||
src = self.fetchzip {
|
# 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";
|
# 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=";
|
# hash = "sha256-bvlzXRAdPvz8P49KENSw9gupQNaUm/+3eZZ1q7+fTsw=";
|
||||||
stripRoot = false;
|
# stripRoot = false;
|
||||||
};
|
# };
|
||||||
|
|
||||||
cargoDeps = self.rustPlatform.fetchCargoVendor {
|
# cargoDeps = self.rustPlatform.fetchCargoVendor {
|
||||||
inherit (self.helix) src;
|
# inherit (self.helix) src;
|
||||||
hash = "sha256-soOnSRvWO7OzxYENFUBGmgSAk1Oy9Av+wDDLKkcuIbs=";
|
# hash = "sha256-soOnSRvWO7OzxYENFUBGmgSAk1Oy9Av+wDDLKkcuIbs=";
|
||||||
};
|
# };
|
||||||
});
|
# });
|
||||||
})];
|
# })];
|
||||||
|
|
||||||
home-manager.sharedModules = [{
|
home-manager.sharedModules = [{
|
||||||
programs.nushell.configFile.text = mkIf /*(*/config.isDesktop/* && config.isLinux)*/ <| mkAfter /* nu */ ''
|
programs.nushell.configFile.text = mkIf /*(*/config.isDesktop/* && config.isLinux)*/ <| mkAfter /* nu */ ''
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ config, lib, pkgs, ... }: let
|
{ config, lib, pkgs, ... }: let
|
||||||
inherit (lib) attrValues optionalAttrs;
|
inherit (lib) attrValues optionalAttrs;
|
||||||
in {
|
in {
|
||||||
|
unfree.allowedNames = [ "claude-code" ];
|
||||||
|
|
||||||
environment.systemPackages = attrValues <| {
|
environment.systemPackages = attrValues <| {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
asciinema
|
asciinema
|
||||||
|
@ -35,14 +37,14 @@ in {
|
||||||
;
|
;
|
||||||
} // optionalAttrs config.isDesktop {
|
} // optionalAttrs config.isDesktop {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
|
claude-code
|
||||||
|
|
||||||
clang_16
|
clang_16
|
||||||
clang-tools_16
|
clang-tools_16
|
||||||
deno
|
deno
|
||||||
gh
|
gh
|
||||||
go
|
go
|
||||||
jdk
|
|
||||||
lld
|
lld
|
||||||
maven
|
|
||||||
zig
|
zig
|
||||||
|
|
||||||
qbittorrent
|
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