Compare commits
No commits in common. "1644e952435590c2f263624c7e649e91248eae63" and "dc90e14e60f755cbe5d0b2ccdceed92221b53ffa" have entirely different histories.
1644e95243
...
dc90e14e60
|
@ -5,13 +5,11 @@ in
|
|||
{
|
||||
options.my.home.calibre = with lib; {
|
||||
enable = mkEnableOption "calibre configuration";
|
||||
|
||||
package = mkPackageOption pkgs "calibre" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
cfg.package
|
||||
calibre
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,13 +7,11 @@ in
|
|||
{
|
||||
options.my.home.discord = with lib; {
|
||||
enable = mkEnableOption "discord configuration";
|
||||
|
||||
package = mkPackageOption pkgs "discord" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
cfg.package
|
||||
discord
|
||||
];
|
||||
|
||||
xdg.configFile."discord/settings.json".source =
|
||||
|
|
|
@ -6,19 +6,24 @@ in
|
|||
options.my.home.gdb = with lib; {
|
||||
enable = my.mkDisableOption "gdb configuration";
|
||||
|
||||
package = mkPackageOption pkgs "gdb" { };
|
||||
|
||||
rr = {
|
||||
enable = my.mkDisableOption "rr configuration";
|
||||
|
||||
package = mkPackageOption pkgs "rr" { };
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.rr;
|
||||
defaultText = literalExample "pkgs.rr";
|
||||
description = ''
|
||||
Package providing rr
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
cfg.package
|
||||
gdb
|
||||
];
|
||||
|
||||
xdg = {
|
||||
|
|
Loading…
Reference in a new issue