nix/hosts/laptop/home.nix
2024-10-11 16:42:10 +02:00

81 lines
1.5 KiB
Nix

{ pkgs, lib, config, ... }:
{
imports = [
# GUI
../../modules/home/gui/common
../../modules/home/gui/hyprland
../../modules/home/gui/nextcloud.nix
../../modules/home/gui/theming.nix
../../modules/home/gui/thunderbird.nix
# CLI
../../modules/home/cli/common
../../modules/home/cli/develop.nix
../../modules/home/cli/ssh.nix
../../modules/home/cli/yazi.nix
];
options = {
host = lib.mkOption {
type = with lib.types; str;
description = ''
Define the host of the machine
'';
};
};
config = {
home = {
username = "xeovalyte";
homeDirectory = "/home/xeovalyte";
};
host = "xv-laptop";
home.packages = with pkgs; [
# Desktop Applications
kdenlive
unstable.prismlauncher
unstable.joplin-desktop
unstable.prusa-slicer
signal-desktop
unstable.vesktop
unstable.blender
loupe
unstable.surrealist
unstable.rnote
# Office
libreoffice
onlyoffice-bin
papers
# Image editing
gimp
inkscape
unstable.obs-studio
# Development
unstable.drawio
unstable.ghostwriter
];
# Enable home-manager
programs.home-manager.enable = true;
# Enable default applications
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = "firefox.desktop";
"application/rnote" = "rnote.desktop";
};
};
home.stateVersion = "24.05";
};
}