programs, xdg: move app packages and MIME defaults into modules
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.programs.ayugram;
|
||||
in
|
||||
{
|
||||
options.my.programs.ayugram = {
|
||||
enable = lib.mkEnableOption "ayugram";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.hm.home.packages = [
|
||||
pkgs.ayugram-desktop
|
||||
];
|
||||
my.persist.homeDirs = [
|
||||
".local/share/AyuGramDesktop"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user