feat(comma): add comma and nix-index-database

This commit is contained in:
Mohammad Rafiq 2025-03-24 00:26:29 +08:00
parent 439a54a35c
commit cbdeb114b0
No known key found for this signature in database
3 changed files with 38 additions and 11 deletions

21
flake.lock generated
View file

@ -985,6 +985,26 @@
"type": "github" "type": "github"
} }
}, },
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1742701275,
"narHash": "sha256-AulwPVrS9859t+eJ61v24wH/nfBEIDSXYxlRo3fL/SA=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "36dc43cb50d5d20f90a28d53abb33a32b0a2aae6",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixd": { "nixd": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
@ -1331,6 +1351,7 @@
"hyprland-plugins": "hyprland-plugins", "hyprland-plugins": "hyprland-plugins",
"hyprlock": "hyprlock", "hyprlock": "hyprlock",
"impermanence": "impermanence", "impermanence": "impermanence",
"nix-index-database": "nix-index-database",
"nixd": "nixd", "nixd": "nixd",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",

View file

@ -77,5 +77,7 @@
disko.url = "github:nix-community/disko/latest"; disko.url = "github:nix-community/disko/latest";
disko.inputs.nixpkgs.follows = "nixpkgs"; disko.inputs.nixpkgs.follows = "nixpkgs";
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
}; };
} }

View file

@ -1,4 +1,5 @@
{ {
inputs,
pkgs, pkgs,
config, config,
... ...
@ -9,6 +10,7 @@
./shell.nix ./shell.nix
./stylix.nix ./stylix.nix
./sops.nix ./sops.nix
inputs.nix-index-database.nixosModules.nix-index
]; ];
users.mutableUsers = false; # Always reset users on system activation users.mutableUsers = false; # Always reset users on system activation
@ -70,4 +72,6 @@
dates = "daily"; dates = "daily";
options = "-d"; options = "-d";
}; };
programs.nix-index-database.comma.enable = true;
} }