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"
|
"nixpkgs-regression": "nixpkgs-regression"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1653643505,
|
"lastModified": 1652510778,
|
||||||
"narHash": "sha256-VReVQKEfedov22lbZYQjOcIoxjOcLCSVWF8A2szoZ/k=",
|
"narHash": "sha256-zldZ4SiwkISFXxrbY/UdwooIZ3Z/I6qKxtpc3zD0T/o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "ec07a70979a86cc436de7e46e03789b4606d25ab",
|
"rev": "65cd26eebbbf80eaf0d74092f09b737606cb4b5a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
|
"ref": "latest-release",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
url = "github:NixOS/nix";
|
url = "github:NixOS/nix?ref=latest-release";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -2,10 +2,7 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
brightnessctl
|
brightnessctl
|
||||||
element-desktop
|
libreoffice-fresh
|
||||||
signal-desktop
|
|
||||||
teams
|
|
||||||
zoom-us
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
@ -19,6 +16,8 @@
|
|||||||
elss = {
|
elss = {
|
||||||
programs = {
|
programs = {
|
||||||
aspell.enable = true;
|
aspell.enable = true;
|
||||||
|
# Enable communication programs
|
||||||
|
communication.enable = true;
|
||||||
emacs.enable = true;
|
emacs.enable = true;
|
||||||
obsstudio.enable = true;
|
obsstudio.enable = true;
|
||||||
python.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;
|
#cursorsize = if config.variables.hostName == "nucturne" then 14 else 16;
|
||||||
#xserverDPI = if config.variables.hostName == "stel-xps" then 180 else null;
|
#xserverDPI = if config.variables.hostName == "stel-xps" then 180 else null;
|
||||||
in
|
in
|
||||||
{
|
mkIf cfg.enable {
|
||||||
elss.users.x11.enable = true;
|
elss.users.x11.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user