mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat: add comma & nix-index-database
This commit is contained in:
parent
1833524619
commit
158cebb96e
4 changed files with 32 additions and 0 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -125,6 +125,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725161148,
|
||||
"narHash": "sha256-WfAHq3Ag3vLNFfWxKHjFBFdPI6JIideWFJod9mx1eoo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "32058e9138248874773630c846563b1a78ee7a5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1725194671,
|
||||
|
|
@ -205,6 +225,7 @@
|
|||
"home-manager": "home-manager",
|
||||
"nish": "nish",
|
||||
"nix-darwin": "nix-darwin",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nrr": "nrr",
|
||||
"nyoom": "nyoom",
|
||||
|
|
|
|||
|
|
@ -20,6 +20,11 @@
|
|||
url = "github:catppuccin/nix";
|
||||
};
|
||||
|
||||
nix-index-database = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
am = {
|
||||
url = "github:ryanccn/am";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -66,6 +71,7 @@
|
|||
nix-darwin,
|
||||
home-manager,
|
||||
darwin-custom-icons,
|
||||
nix-index-database,
|
||||
...
|
||||
}@inputs:
|
||||
{
|
||||
|
|
@ -73,6 +79,7 @@
|
|||
modules = [
|
||||
home-manager.darwinModules.home-manager
|
||||
darwin-custom-icons.darwinModules.default
|
||||
nix-index-database.darwinModules.nix-index
|
||||
./system.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
DENO_NO_UPDATE_CHECK = "1";
|
||||
CSC_IDENTITY_AUTO_DISCOVERY = "false";
|
||||
|
||||
COMMA_NIXPKGS_FLAKE = "n";
|
||||
|
||||
LESSHISTFILE = "${config.xdg.stateHome}/less/history";
|
||||
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
|
||||
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||
|
|
|
|||
|
|
@ -54,4 +54,6 @@
|
|||
config.allowUnfree = true;
|
||||
hostPlatform = "aarch64-darwin";
|
||||
};
|
||||
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue