Add Webcord module
This commit is contained in:
parent
8c62cc41d1
commit
19bab7fa61
4 changed files with 27 additions and 18 deletions
|
@ -1,17 +0,0 @@
|
||||||
{ pkgs, ...}:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
webcord
|
|
||||||
];
|
|
||||||
|
|
||||||
xdg.desktopEntries = {
|
|
||||||
webcord = {
|
|
||||||
name = "Webcord";
|
|
||||||
genericName = "Unofficial Discord client";
|
|
||||||
exec = "webcord --ozone-platform=wayland";
|
|
||||||
icon = "webcord";
|
|
||||||
terminal = false;
|
|
||||||
categories = [ "Application" "Network" "WebBrowser" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -2,6 +2,7 @@
|
||||||
config.modules = {
|
config.modules = {
|
||||||
video.kdenlive.enable = true;
|
video.kdenlive.enable = true;
|
||||||
web.qutebrowser.enable = true;
|
web.qutebrowser.enable = true;
|
||||||
|
web.webcord.enable = true;
|
||||||
gaming.lutris.enable = true;
|
gaming.lutris.enable = true;
|
||||||
desktop.sway = {
|
desktop.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
26
modules/home-manager/web/webcord/default.nix
Normal file
26
modules/home-manager/web/webcord/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.modules.web.webcord;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.web.webcord = {
|
||||||
|
enable = mkEnableOption "enable Lutris Gaming preservation platform";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
webcord
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.desktopEntries = {
|
||||||
|
webcord = {
|
||||||
|
name = "Webcord";
|
||||||
|
genericName = "Unofficial Discord client";
|
||||||
|
exec = "webcord --ozone-platform=wayland";
|
||||||
|
icon = "webcord";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Application" "Network" "WebBrowser" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -66,7 +66,6 @@
|
||||||
../home-manager/cli
|
../home-manager/cli
|
||||||
] ++ (if hostConfig.desktop then
|
] ++ (if hostConfig.desktop then
|
||||||
[
|
[
|
||||||
../home-manager/webcord.nix
|
|
||||||
../home-manager/firefox
|
../home-manager/firefox
|
||||||
../home-manager/foot.nix
|
../home-manager/foot.nix
|
||||||
../home-manager/zathura.nix
|
../home-manager/zathura.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue