58 lines
1.6 KiB
Nix
58 lines
1.6 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
../../common/aliases.nix
|
|
];
|
|
|
|
home.username = "nixos"; # your actual username
|
|
home.homeDirectory = "/home/nixos";
|
|
home.stateVersion = "25.05"; # match your NixOS stateVersion
|
|
|
|
programs.home-manager.enable = true; # mandatory to activate HM
|
|
|
|
# Optional: packages
|
|
home.packages = with pkgs; [
|
|
git
|
|
vim
|
|
tmux
|
|
nextcloud-client
|
|
# vscode
|
|
];
|
|
|
|
# Optional: set environment vars
|
|
home.sessionVariables = {
|
|
EDITOR = "vim";
|
|
};
|
|
|
|
# Optional: enable bash (or zsh, fish...)
|
|
programs.bash.enable = true;
|
|
services.nextcloud-client = {
|
|
enable = true;
|
|
# Optionally start in background directly
|
|
startInBackground = true;
|
|
};
|
|
home.file = {
|
|
".local/share/applications/proxmox-web.desktop".text = ''
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Name=Discord Web
|
|
Exec=Exec=firefox --new-instance --class ProxmoxWebApp -P ProxmoxWebApp javascript:(window.open("https://pve.sweet.home:8006","_blank",
|
|
"width=100%,height=100%,menubar=no,toolbar=no,location=no,status=no,resizable"))
|
|
Icon=https://icons-for-free.com/iff/png/512/proxmox-1331550892572912181.png
|
|
Terminal=false
|
|
Categories=Hypervisor;
|
|
'';
|
|
".local/share/applications/telegram-web.desktop".text = ''
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Name=Telegram Web
|
|
Exec=firefox --new-instance --class TelegramWebApp -P TelegramWebApp javascript:(window.open("https://web.telegram.org","_blank",
|
|
"width=100%,height=100%,menubar=no,toolbar=no,location=no,status=no,resizable"))
|
|
Icon=firefox
|
|
Terminal=false
|
|
Categories=Network;Chat;
|
|
'';
|
|
};
|
|
} |