refactor
This commit is contained in:
parent
66c05f9093
commit
45d6f4b0f3
205 changed files with 9040 additions and 342 deletions
29
modules/nixos/tools/comma/default.nix
Normal file
29
modules/nixos/tools/comma/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let
|
||||
cfg = config.plusultra.tools.comma;
|
||||
in
|
||||
{
|
||||
options.plusultra.tools.comma = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable comma.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
comma
|
||||
plusultra.nix-update-index
|
||||
];
|
||||
|
||||
plusultra.home = {
|
||||
configFile = {
|
||||
"wgetrc".text = "";
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
programs.nix-index.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue