Archived
56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
../../common/aliases.nix
|
|
inputs.firefox-webapp.home-modules.firefox-webapp
|
|
];
|
|
|
|
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;
|
|
};
|
|
programs.firefox.enable = true;
|
|
graphical.enable = true;
|
|
|
|
graphical.webapps = {
|
|
discord = {
|
|
url = "https://discord.com/app";
|
|
profile = "webapp_discord";
|
|
iconUrl = "https://discord.com/assets/icon.png";
|
|
name = "Discord Web";
|
|
windowClass = "DiscordWebApp";
|
|
};
|
|
telegram = {
|
|
url = "https://web.telegram.org";
|
|
profile = "webapp_telegram";
|
|
iconUrl = "https://telegram.org/img/t_logo.png";
|
|
name = "Telegram Web";
|
|
windowClass = "TelegramWebApp";
|
|
};
|
|
};
|
|
} |