modified: hosts/nixos/home.nix
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
tmux
|
tmux
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
# vscode
|
# vscode
|
||||||
|
chromium
|
||||||
];
|
];
|
||||||
|
|
||||||
# Optional: set environment vars
|
# Optional: set environment vars
|
||||||
@@ -33,26 +34,24 @@
|
|||||||
# Optionally start in background directly
|
# Optionally start in background directly
|
||||||
startInBackground = true;
|
startInBackground = true;
|
||||||
};
|
};
|
||||||
home.file = {
|
home.file = {
|
||||||
".local/share/applications/proxmox-web.desktop".text = ''
|
".local/share/applications/discord-chromium-app.desktop".text = ''
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Discord Web
|
Name=Discord (Chromium)
|
||||||
Exec=Exec=firefox --new-instance --class ProxmoxWebApp -P ProxmoxWebApp javascript:(window.open("https://192.168.2.251:8006","_blank",
|
Exec=chromium --app=https://discord.com/app --window-size=800,600 --window-position=100,100
|
||||||
"width=100%,height=100%,menubar=no,toolbar=no,location=no,status=no,resizable"))
|
Icon=chromium
|
||||||
Icon=https://icons-for-free.com/iff/png/512/proxmox-1331550892572912181.png
|
Terminal=false
|
||||||
Terminal=false
|
Categories=Network;Chat;
|
||||||
Categories=Hypervisor;
|
'';
|
||||||
'';
|
".local/share/applications/telegram-chromium-app.desktop".text = ''
|
||||||
".local/share/applications/telegram-web.desktop".text = ''
|
[Desktop Entry]
|
||||||
[Desktop Entry]
|
Type=Application
|
||||||
Type=Application
|
Name=Telegram (Chromium)
|
||||||
Name=Telegram Web
|
Exec=chromium --app=https://web.telegram.org --window-size=800,600 --window-position=150,150
|
||||||
Exec=firefox --new-instance --class TelegramWebApp -P TelegramWebApp javascript:(window.open(url="https://web.telegram.org",
|
Icon=chromium
|
||||||
"width=100%,height=100%,menubar=no,toolbar=no,location=no,status=no,resizable"))
|
Terminal=false
|
||||||
Icon=firefox
|
Categories=Network;Chat;
|
||||||
Terminal=false
|
'';
|
||||||
Categories=Network;Chat;
|
};
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user