feat(comma): add comma and nix-index-database
This commit is contained in:
parent
439a54a35c
commit
cbdeb114b0
3 changed files with 38 additions and 11 deletions
21
flake.lock
generated
21
flake.lock
generated
|
@ -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",
|
||||||
|
|
24
flake.nix
24
flake.nix
|
@ -40,17 +40,17 @@
|
||||||
specialArgs = args;
|
specialArgs = args;
|
||||||
modules = [
|
modules = [
|
||||||
./systems/mellinoe.nix
|
./systems/mellinoe.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true; # inherit the nixpkgs and its config
|
useGlobalPkgs = true; # inherit the nixpkgs and its config
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = args;
|
extraSpecialArgs = args;
|
||||||
users.rafiq.imports = [
|
users.rafiq.imports = [
|
||||||
./users/rafiq.nix
|
./users/rafiq.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue