Add initial legacy configuration
This commit is contained in:
parent
febfe1d970
commit
db07652d99
64 changed files with 3287 additions and 13 deletions
18
home-modules/applications/webapps.nix
Normal file
18
home-modules/applications/webapps.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
web-app =
|
||||
name: url:
|
||||
pkgs.writeScriptBin name ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
exec ${pkgs.chromium}/bin/chromium --user-data-dir=$HOME/.config/chromium-app-${name} --app="${url}"
|
||||
'';
|
||||
whatsapp = web-app "whatsapp" "https://web.whatsapp.com/";
|
||||
threema = web-app "threema" "https://web-beta.threema.ch/";
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
whatsapp
|
||||
threema
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue