task | convert some files to modules
This commit is contained in:
parent
03921b35d7
commit
37828b6801
15 changed files with 222 additions and 109 deletions
|
|
@ -1,19 +1,9 @@
|
|||
{ config, pkgs, ... }: {
|
||||
home.packages = with pkgs; [ zoom-us ];
|
||||
# xdg = {
|
||||
# configFile."zoom.conf".source = files/zoom.conf;
|
||||
# configFile."zoomus.conf".source = files/zoomus.conf;
|
||||
# desktopEntries = {
|
||||
# myzoom = {
|
||||
# name = "My Zoom-Zoom";
|
||||
# exec = "/home/don/bin/myzoom %u";
|
||||
# terminal = false;
|
||||
# type = "Application";
|
||||
# icon = "Zoom";
|
||||
# comment = "Zoom Video";
|
||||
# mimeType = ["x-scheme-handler/zoommtg" "x-scheme-handler/zoomus" "x-scheme-handler/tel" "x-scheme-handler/callto" "x-scheme-handler/zoomphonecall" "application/x-zoom"];
|
||||
# categories = ["Network" "Application" "Application"];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
{ lib, config, pkgs, inputs, outputs, home-manager, ... }:
|
||||
with lib;
|
||||
let cfg = config.roles.zoom;
|
||||
in {
|
||||
options.roles.zoom = { enable = lib.mkEnableOption "citrix tools"; };
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.don.home.packages = with pkgs; [ zoom-us ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue