Added comma + nix index database. Removed unused flake input

This commit is contained in:
Jurn Wubben 2025-08-16 18:04:30 +02:00
parent c72a7daeb0
commit 0c7cddcfb9
4 changed files with 40 additions and 18 deletions

38
flake.lock generated
View file

@ -493,6 +493,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1754800038,
"narHash": "sha256-UbLO8/0pVBXLJuyRizYOJigtzQAj8Z2bTnbKSec/wN0=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "b65f8d80656f9fcbd1fecc4b7f0730f468333142",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixcord": {
"inputs": {
"flake-compat": "flake-compat_2",
@ -559,22 +579,6 @@
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1754292888,
"narHash": "sha256-1ziydHSiDuSnaiPzCQh1mRFBsM2d2yRX9I+5OPGEmIE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ce01daebf8489ba97bd1609d185ea276efdeb121",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-torzu": {
"locked": {
"lastModified": 1747156605,
@ -741,9 +745,9 @@
"git-hooks-nix": "git-hooks-nix",
"guiders": "guiders",
"hm": "hm",
"nix-index-database": "nix-index-database",
"nixcord": "nixcord",
"nixpkgs": "nixpkgs_4",
"nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-torzu": "nixpkgs-torzu",
"nvf": "nvf",
"somcli": "somcli",

View file

@ -42,7 +42,6 @@
inputs = {
# Nixpkgs and other core shit
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05"; # seafile error
nixpkgs-torzu.url = "github:nixos/nixpkgs/d9afddcd04bc716d1fee5141f8696a131f76442c"; # Commit before packacge removed.
flake-parts.url = "github:hercules-ci/flake-parts";
git-hooks-nix = {
@ -50,6 +49,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
hm = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";

13
system/desktop/comma.nix Normal file
View file

@ -0,0 +1,13 @@
{
config,
lib,
...
}: {
programs =
lib.mkIf config.niksos.desktop.enable
{
command-not-found.enable = false;
nix-index.enable = true;
nix-index-database.comma.enable = true;
};
}

View file

@ -9,6 +9,7 @@
inherit (lib) mkIf optional;
in {
imports = [
./comma.nix
./greetd.nix
./hyprland.nix
./pipewire.nix