webcord and element to modules
This commit is contained in:
parent
ddb5c2872c
commit
4186ce739b
@ -24,7 +24,6 @@
|
||||
baobab
|
||||
arduino-ide
|
||||
piper
|
||||
element-desktop
|
||||
calibre
|
||||
loupe
|
||||
gimp3
|
||||
|
||||
@ -40,7 +40,6 @@
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
webcord
|
||||
obsidian
|
||||
libsForQt5.kdenlive
|
||||
komikku
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
webcord
|
||||
obsidian
|
||||
libsForQt5.kdenlive
|
||||
floorp
|
||||
|
||||
7
modules/nix/comm/default.nix
Normal file
7
modules/nix/comm/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./element.nix
|
||||
./webcord.nix
|
||||
];
|
||||
}
|
||||
17
modules/nix/comm/element.nix
Normal file
17
modules/nix/comm/element.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.element.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "element";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.element.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
element-desktop
|
||||
];
|
||||
};
|
||||
}
|
||||
17
modules/nix/comm/webcord.nix
Normal file
17
modules/nix/comm/webcord.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.webcord.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "webcord";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.webcord.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
webcord
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -13,6 +13,7 @@
|
||||
./wm
|
||||
./de
|
||||
./office
|
||||
./comm
|
||||
];
|
||||
|
||||
# Timzone and locales (same for all machines so I put it here)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user