feat: install comma

This commit is contained in:
buffet 2024-01-21 17:10:23 +01:00
parent ccf49a10fc
commit 4c81daeaa4
4 changed files with 42 additions and 1 deletions

View file

@ -85,6 +85,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1705806513,
"narHash": "sha256-FcOmNjhHFfPz2udZbRpZ1sfyhVMr+C2O8kOxPj+HDDk=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "f8e04fbcebcc24cebc91989981bd45f69b963ed7",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1705312285,
@ -167,6 +187,7 @@
"inputs": {
"agenix": "agenix",
"home-manager": "home-manager_2",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",

View file

@ -10,6 +10,11 @@
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {

11
users/buffet/comma.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, nix-index-database, ...}: {
home-manager.users.buffet = {
home = {
file.".cache/nix-index/files".source = nix-index-database.legacyPackages.${pkgs.stdenv.system}.database;
packages = with pkgs; [
comma
];
};
};
}

View file

@ -1,7 +1,11 @@
{pkgs, ...}: {
{
pkgs,
...
}: {
imports = [
./bash.nix
./cargo.nix
./comma.nix
./firefox.nix
./foot.nix
./git.nix