Add telegram desktop

This commit is contained in:
dump_stack() 2018-06-30 08:40:53 +00:00
parent 61da988c22
commit 8fc6c3fe6c
2 changed files with 16 additions and 0 deletions

5
tdesktop-config.nix Normal file
View File

@ -0,0 +1,5 @@
{config, ...}:
{
config.networking.hostName = "tdesktop";
config.virtualisation.memorySize = 1024;
}

11
tdesktop.nix Normal file
View File

@ -0,0 +1,11 @@
{pkgs, ...}:
{
imports = [
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>
<tdesktop-config.nix>
<base.nix>
];
environment.systemPackages = [ pkgs.tdesktop ];
services.xserver.displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.tdesktop}/bin/telegram-desktop; done &";
}