From 8fc6c3fe6c9ee637622aa57e56b88be3136466f4 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 30 Jun 2018 08:40:53 +0000 Subject: [PATCH] Add telegram desktop --- tdesktop-config.nix | 5 +++++ tdesktop.nix | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tdesktop-config.nix create mode 100644 tdesktop.nix diff --git a/tdesktop-config.nix b/tdesktop-config.nix new file mode 100644 index 0000000..bc6932c --- /dev/null +++ b/tdesktop-config.nix @@ -0,0 +1,5 @@ +{config, ...}: +{ + config.networking.hostName = "tdesktop"; + config.virtualisation.memorySize = 1024; +} diff --git a/tdesktop.nix b/tdesktop.nix new file mode 100644 index 0000000..d54e02d --- /dev/null +++ b/tdesktop.nix @@ -0,0 +1,11 @@ +{pkgs, ...}: +{ + imports = [ + + + + ]; + + environment.systemPackages = [ pkgs.tdesktop ]; + services.xserver.displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.tdesktop}/bin/telegram-desktop; done &"; +}