nix/hosts/desktop/home.nix

51 lines
901 B
Nix
Raw Normal View History

2024-08-09 11:45:19 +02:00
{ pkgs, lib, ... }:
2024-03-12 21:24:29 +01:00
{
imports = [
2024-06-20 13:41:57 +02:00
# GUI
../../modules/home/gui/common
2024-08-09 11:42:24 +02:00
../../modules/home/gui/hyprland
../../modules/home/gui/nextcloud.nix
../../modules/home/gui/theming.nix
2024-06-20 13:41:57 +02:00
# CLI
../../modules/home/cli/common
2024-03-12 21:24:29 +01:00
];
2024-08-09 11:44:43 +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-12 21:24:29 +01:00
};
2024-08-09 11:44:43 +02:00
config = {
home = {
username = "xeovalyte";
homeDirectory = "/home/xeovalyte";
};
host = "xv-desktop";
2024-10-11 17:14:39 +02:00
headless = false;
2024-03-12 21:24:29 +01:00
2024-08-09 11:44:43 +02:00
home.packages = with pkgs; [
2024-11-30 18:30:01 +01:00
unstable.prismlauncher
unstable.vesktop
2024-08-09 11:44:43 +02:00
];
2024-11-30 18:30:01 +01:00
# Enable home-manager
programs.home-manager.enable = true;
2024-08-09 11:44:43 +02:00
home.stateVersion = "24.05";
};
2024-03-12 21:24:29 +01:00
}