diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 300cf01..1d452a7 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -12,14 +12,27 @@ ../../modules/home/cli/common ]; - home = { - username = "xeovalyte"; - homeDirectory = "/home/xeovalyte"; + options = { + host = lib.mkOption { + type = with lib.types; str; + description = '' + Define the host of the machine + ''; + }; }; - home.packages = with pkgs; [ - unstable.prismlauncher - ]; + config = { + home = { + username = "xeovalyte"; + homeDirectory = "/home/xeovalyte"; + }; - home.stateVersion = "24.05"; + host = "xv-desktop"; + + home.packages = with pkgs; [ + unstable.prismlauncher + ]; + + home.stateVersion = "24.05"; + }; }