mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-12-24 11:59:48 +00:00
Add telegram desktop
This commit is contained in:
parent
61da988c22
commit
8fc6c3fe6c
5
tdesktop-config.nix
Normal file
5
tdesktop-config.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{config, ...}:
|
||||
{
|
||||
config.networking.hostName = "tdesktop";
|
||||
config.virtualisation.memorySize = 1024;
|
||||
}
|
11
tdesktop.nix
Normal file
11
tdesktop.nix
Normal 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 &";
|
||||
}
|
Loading…
Reference in New Issue
Block a user