2024-06-25 13:11:30 +02:00
|
|
|
{ pkgs, lib, config, ... }:
|
2024-03-09 17:18:36 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2024-06-20 13:41:57 +02:00
|
|
|
# GUI
|
|
|
|
../../modules/home/gui/common
|
|
|
|
../../modules/home/gui/hyprland
|
|
|
|
../../modules/home/gui/nextcloud.nix
|
|
|
|
../../modules/home/gui/theming.nix
|
2024-08-01 12:44:07 +02:00
|
|
|
../../modules/home/gui/thunderbird.nix
|
2024-06-20 13:41:57 +02:00
|
|
|
|
|
|
|
# CLI
|
|
|
|
../../modules/home/cli/common
|
2024-07-17 10:54:54 +02:00
|
|
|
../../modules/home/cli/develop.nix
|
2024-06-20 13:41:57 +02:00
|
|
|
../../modules/home/cli/ssh.nix
|
2024-10-11 08:36:31 +02:00
|
|
|
../../modules/home/cli/yazi.nix
|
2024-03-09 17:18:36 +01:00
|
|
|
];
|
|
|
|
|
2024-09-05 19:20:03 +02:00
|
|
|
|
2024-06-25 13:11:30 +02:00
|
|
|
options = {
|
|
|
|
host = lib.mkOption {
|
|
|
|
type = with lib.types; str;
|
|
|
|
description = ''
|
|
|
|
Define the host of the machine
|
|
|
|
'';
|
|
|
|
};
|
2024-10-11 17:14:39 +02:00
|
|
|
|
|
|
|
headless = lib.mkOption {
|
|
|
|
type = with lib.types; bool;
|
|
|
|
description = ''
|
|
|
|
Is this machine headless?
|
|
|
|
'';
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
|
2024-06-25 13:11:30 +02:00
|
|
|
config = {
|
|
|
|
home = {
|
|
|
|
username = "xeovalyte";
|
|
|
|
homeDirectory = "/home/xeovalyte";
|
|
|
|
};
|
2024-06-20 13:41:57 +02:00
|
|
|
|
2024-06-25 13:11:30 +02:00
|
|
|
host = "xv-laptop";
|
2024-10-11 17:14:39 +02:00
|
|
|
headless = false;
|
2024-06-20 13:41:57 +02:00
|
|
|
|
2024-06-25 13:11:30 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
# Desktop Applications
|
|
|
|
kdenlive
|
|
|
|
unstable.prismlauncher
|
|
|
|
unstable.joplin-desktop
|
|
|
|
unstable.prusa-slicer
|
|
|
|
signal-desktop
|
|
|
|
unstable.vesktop
|
2024-08-01 12:44:07 +02:00
|
|
|
unstable.blender
|
2024-10-06 16:36:21 +02:00
|
|
|
loupe
|
2024-10-09 12:55:42 +02:00
|
|
|
unstable.surrealist
|
|
|
|
unstable.rnote
|
2024-06-25 13:11:30 +02:00
|
|
|
|
|
|
|
# Office
|
|
|
|
libreoffice
|
2024-10-06 16:36:21 +02:00
|
|
|
onlyoffice-bin
|
|
|
|
papers
|
2024-06-25 13:11:30 +02:00
|
|
|
|
|
|
|
# Image editing
|
|
|
|
gimp
|
|
|
|
inkscape
|
2024-08-01 12:44:07 +02:00
|
|
|
unstable.obs-studio
|
2024-06-25 13:11:30 +02:00
|
|
|
|
2024-07-17 10:54:54 +02:00
|
|
|
# Development
|
|
|
|
unstable.drawio
|
2024-10-11 16:42:10 +02:00
|
|
|
unstable.ghostwriter
|
2024-06-25 13:11:30 +02:00
|
|
|
];
|
|
|
|
|
2024-09-05 19:20:03 +02:00
|
|
|
# Enable home-manager
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
2024-10-09 12:55:42 +02:00
|
|
|
# Enable default applications
|
|
|
|
xdg.mimeApps = {
|
|
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
|
|
|
"application/pdf" = "firefox.desktop";
|
2024-10-11 08:36:31 +02:00
|
|
|
"application/rnote" = "rnote.desktop";
|
2024-10-09 12:55:42 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-25 13:11:30 +02:00
|
|
|
home.stateVersion = "24.05";
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
|
|
|
|
}
|