mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Add communication tools module
This commit is contained in:
parent
8704153097
commit
6e03df40e7
7
flake.lock
generated
7
flake.lock
generated
@ -219,15 +219,16 @@
|
||||
"nixpkgs-regression": "nixpkgs-regression"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1653643505,
|
||||
"narHash": "sha256-VReVQKEfedov22lbZYQjOcIoxjOcLCSVWF8A2szoZ/k=",
|
||||
"lastModified": 1652510778,
|
||||
"narHash": "sha256-zldZ4SiwkISFXxrbY/UdwooIZ3Z/I6qKxtpc3zD0T/o=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nix",
|
||||
"rev": "ec07a70979a86cc436de7e46e03789b4606d25ab",
|
||||
"rev": "65cd26eebbbf80eaf0d74092f09b737606cb4b5a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "latest-release",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
nix = {
|
||||
url = "github:NixOS/nix";
|
||||
url = "github:NixOS/nix?ref=latest-release";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
||||
@ -2,10 +2,7 @@
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
brightnessctl
|
||||
element-desktop
|
||||
signal-desktop
|
||||
teams
|
||||
zoom-us
|
||||
libreoffice-fresh
|
||||
];
|
||||
|
||||
programs = {
|
||||
@ -19,6 +16,8 @@
|
||||
elss = {
|
||||
programs = {
|
||||
aspell.enable = true;
|
||||
# Enable communication programs
|
||||
communication.enable = true;
|
||||
emacs.enable = true;
|
||||
obsstudio.enable = true;
|
||||
python.enable = true;
|
||||
|
||||
20
modules/communication.nix
Normal file
20
modules/communication.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
with lib; {
|
||||
options.elss.programs.communication.enable = mkEnableOption "enable the basic graphical communication tools";
|
||||
|
||||
config =
|
||||
let
|
||||
cfg = config.elss.programs.communication;
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
elss.graphical.enable = true;
|
||||
environment.systemPackages = [
|
||||
element-desktop
|
||||
jitsi-meet-electron
|
||||
signal-dektop
|
||||
skypeforlinux
|
||||
teams
|
||||
zoom-us
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -23,7 +23,7 @@ with lib; {
|
||||
#cursorsize = if config.variables.hostName == "nucturne" then 14 else 16;
|
||||
#xserverDPI = if config.variables.hostName == "stel-xps" then 180 else null;
|
||||
in
|
||||
{
|
||||
mkIf cfg.enable {
|
||||
elss.users.x11.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user