83 lines
2.2 KiB
Nix
83 lines
2.2 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home.username = "admin";
|
|
home.homeDirectory = "/home/admin";
|
|
home.stateVersion = "25.05";
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
programs.vscode = {
|
|
enable = true;
|
|
|
|
# Choose between VS Code and Codium:
|
|
# package = pkgs.vscode;
|
|
package = pkgs.vscodium;
|
|
|
|
# You can declaratively enable extensions here:
|
|
profiles.default.extensions = with pkgs.vscode-extensions; [
|
|
dracula-theme.theme-dracula
|
|
yzhang.markdown-all-in-one
|
|
];
|
|
};
|
|
|
|
# programs.emacs.enable = true
|
|
# programs.vim.enable = true
|
|
# programs.neovim.enable = true
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# decibels # default GNOME audio player
|
|
gnome-calendar # default GNOME calendar
|
|
# gnome-contacts # default GNOME contacts
|
|
|
|
firefox # Mozilla web browser
|
|
# google-chrome # web browser from Google
|
|
# chromium # open source web browser from Google
|
|
# brave # privacy oriented web browser
|
|
# opera # fast alternative web browser
|
|
# vivaldi # powerful and personal web browser
|
|
|
|
thunderbird # full-featured Mozilla e-mail client
|
|
# geary # default GNOME email client
|
|
|
|
ptyxis # container aware GNOME terminal
|
|
# alacritty # GPU accelerated terminal emulator
|
|
# kitty # GPU accelerated terminal emulator
|
|
|
|
jetbrains-toolbox # fresh versions of Android Studio and other tools
|
|
# devpod # open-source code spaces
|
|
|
|
pods # Podman desktop application
|
|
|
|
];
|
|
|
|
home.file = {
|
|
".justfile".text = ''
|
|
[no-cd]
|
|
manage:
|
|
$EDITOR ~/.config/home-manager/home.nix
|
|
|
|
[no-cd]
|
|
switch:
|
|
home-manager switch --flake ~/.config/home-manager#$USER
|
|
|
|
[no-cd]
|
|
rebuild:
|
|
sudo nixos-rebuild switch --flake /etc/nixos#local-$HOSTNAME
|
|
|
|
[no-cd]
|
|
clean:
|
|
nix-collect-garbage -d
|
|
'';
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
# you can change the default terminal and editor here
|
|
TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
|
DEFAULT_TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
|
EDITOR = "${pkgs.micro}/bin/micro";
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
}
|