nanuqsaurus/templates/home-home.nix

108 lines
2.7 KiB
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}:
2026-02-02 21:30:08 +02:00
{
home.username = "@ADMIN_USER@";
home.homeDirectory = "/home/@ADMIN_USER@";
2026-02-02 21:30:08 +02:00
home.stateVersion = "25.05";
nixpkgs.config.allowUnfree = true;
# User-level flatpaks
services.flatpak = {
enable = true;
packages = [ ];
update = {
auto.enable = true;
auto.onCalendar = "daily";
onActivation = false;
};
};
2026-02-03 09:18:59 +02:00
programs = {
distrobox = {
enable = true;
settings = {
container_always_pull = "1";
container_generate_entry = "1";
container_manager = "podman";
container_name_default = "ubuntu";
container_image_default = "ghcr.io/ublue-os/ubuntu-toolbox:latest";
non_interactive = "1";
skip_workdir = "1";
};
containers = {
2026-02-09 18:39:59 +01:00
# ubuntu = {
# image = "ubuntu:latest";
# entry = true;
# };
2026-02-03 09:18:59 +02:00
};
};
home-manager.enable = true;
vscode = {
enable = true;
# Choose between VS Code and Codium:
2026-02-05 09:54:09 +02:00
package = pkgs.vscode;
# package = pkgs.vscodium;
2026-02-03 09:18:59 +02:00
# You can declaratively enable extensions here:
profiles.default.extensions = with pkgs.vscode-extensions; [
dracula-theme.theme-dracula
yzhang.markdown-all-in-one
];
};
2026-02-02 21:30:08 +02:00
};
# 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
2026-02-02 21:30:08 +02:00
# gnome-contacts # default GNOME contacts
firefox # Mozilla web browser
2026-02-02 21:30:08 +02:00
# 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
2026-02-02 21:30:08 +02:00
# geary # default GNOME email client
# ghostty # GPU accelerated terminal emulator
2026-02-02 21:30:08 +02:00
# alacritty # GPU accelerated terminal emulator
# kitty # GPU accelerated terminal emulator
2026-02-09 18:39:59 +01:00
# jetbrains-toolbox # fresh versions of Android Studio and other tools
2026-02-02 21:30:08 +02:00
# devpod # open-source code spaces
pods # Podman desktop application
2026-02-03 07:41:19 +02:00
2026-02-02 21:30:08 +02:00
];
2026-02-05 10:13:27 +02:00
home.file = {
".justfile".text = ''
import '/etc/just/justfile'
'';
};
2026-02-02 22:07:05 +02:00
home.sessionVariables = {
# you can change the default terminal and editor here
TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
DEFAULT_TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
EDITOR = "micro";
2026-02-09 18:39:59 +01:00
# Enables distinct home folders for each distrobox in ~/distrobox
2026-02-03 09:18:59 +02:00
DBX_CONTAINER_HOME_PREFIX = "$HOME/distrobox";
2026-02-02 22:07:05 +02:00
};
2026-02-02 21:30:08 +02:00
}