Files
nixos/hosts/nixos/home.nix

57 lines
1.4 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
chromium
];
# 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-chromium-app.desktop".text = ''
[Desktop Entry]
Type=Application
Name=Proxmox
Exec=chromium --app=https://pve.sweet.home:8006 --window-size=1920,1080 --window-position=0,0
Icon=.local/share/icons/proxmox.png
Terminal=false
Categories=Hypervisor;
'';
".local/share/applications/telegram-chromium-app.desktop".text = ''
[Desktop Entry]
Type=Application
Name=Telegram (Chromium)
Exec=chromium --app=https://web.telegram.org --window-size=800,600 --window-position=150,150
Icon=chromium
Terminal=false
Categories=Network;Chat;
'';
};
}