Added comma.nix
This commit is contained in:
parent
e6b920dee2
commit
741e2ab222
21
flake.lock
generated
21
flake.lock
generated
@ -41,6 +41,26 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-index-database": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1746054057,
|
||||||
|
"narHash": "sha256-iR+idGZJ191cY6NBXyVjh9QH8GVWTkvZw/w+1Igy45A=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"rev": "13ba07d54c6ccc5af30a501df669bf3fe3dd4db8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744232761,
|
"lastModified": 1744232761,
|
||||||
@ -61,6 +81,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,9 +12,14 @@
|
|||||||
url = "github:LnL7/nix-darwin";
|
url = "github:LnL7/nix-darwin";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix-index-database = {
|
||||||
|
url = "github:nix-community/nix-index-database";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nix-darwin, home-manager, ... } @ inputs: {
|
outputs = { self, nixpkgs, nix-darwin, home-manager, nix-index-database, ... } @ inputs: {
|
||||||
|
|
||||||
# Nixos Configurations
|
# Nixos Configurations
|
||||||
|
|
||||||
@ -126,6 +131,7 @@
|
|||||||
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
||||||
modules = [
|
modules = [
|
||||||
./home/darwin.nix
|
./home/darwin.nix
|
||||||
|
./home/modules/comma.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
4
home/modules/comma.nix
Normal file
4
home/modules/comma.nix
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{ config, pkgs, inputs, ...}: {
|
||||||
|
imports = [ inputs.nix-index-database.hmModules.nix-index ];
|
||||||
|
programs.nix-index-database.comma.enable = true;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user